Field Settings

Overview

Each field contains settings to determine where and how data is loaded and saved. These settings can be customized when editing a field group. All fields share some common settings, but also offer unique settings per field type. These unique settings can be found by reading more about the field type. Below is a screenshot showing the available field settings for a text field.

acf-common-field-settings

Settings

Name Description
Field Label This is the label which appears on the edit page when entering a value. Required.
Field Name This is the name used to save and load data from the database. This name must be a single word, no spaces, underscores and dashes allowed. Required.
Field Type The type of field will change the settings available, the interface when entering data, and the value returned from the database. Required.
Instructions This text appears on the edit page when entering a value.
Required Required fields will cause validation to run when saving a post. When attempting to save an empty value to a required field, an error message will display.
Conditional Logic Once enabled, more settings will appear to customize the logic which determines if the current field should be visible or not. Groups of conditional logic can be created to allow for multiple and/or statements. The available ‘toggle’ fields are limited to those which are of the type select, checkbox, true/false, radio.
Wrapper Attributes These attributes will be used to create the wrapping DOM element for the field. Added in v5.0.0

 

 

Save