Introduction
The following settings are available for use on a field’s Advanced tab. The gform_field_advanced_settings hook can also be used to add custom settings at the positions indicated below.
Settings can be enabled for a field which extends the GF_Field class by overriding the get_form_editor_field_settings() method.
Settings
- Position: 0
-
admin_label_setting
The Admin Field Label setting allows the user to define an admin label for the field. -
Position: 25
-
Position: 35
-
Position: 50
-
Position: 100
-
Position: 125
-
default_value_setting
The Default Value setting allows a default value to be defined for the field using a text input. -
Position: 150
-
default_value_textarea_setting
The Default Value setting allows a default value to be defined for the field using a textarea. -
Position: 155
-
name_prefix_choices_setting
The Prefix Choices setting allows the choices for the Name field prefix input to be customized. -
Position: 175
-
default_input_values_setting
The Default Value setting allowing default values of the field inputs to be defined. -
Position: 185
-
copy_values_option
This setting provides the ability to allow the user to use the values they entered into another address field to populate the current field during form submission. Example: Copying Billing Address to the Mailing Address field. -
Position: 200
-
Position: 225
-
Position: 250
-
captcha_language_setting
The Language setting provides a drop down allowing the reCaptcha language to be set. -
Position: 300
-
Position: 325
-
add_icon_url_setting
The Add Icon URL setting allows an image URL to be defined for use with the List field add row button. -
Position: 337
-
delete_icon_url_setting
The Delete Icon URL setting allows an image URL to be defined for use with the List field delete row button. -
Position: 350
-
password_field_setting
The Enable Password Input setting configures the field to use a password type input. -
Position: 375
-
force_ssl_field_setting
Includes a Force SSL setting which allows the page containing the form to be forced to be secure when this field exists. -
Position: 400
-
visibility_setting
The Visibility settings allow the field to be displayed on the front-end form or only on the entry detail page when editing the entry. -
Position: 425
-
rich_text_editor_setting
Provides a Use the Rich Text Editor setting allowing the RTE to be enabled for the Paragraph and Post Body fields. -
Position: 450
-
prepopulate_field_setting
This setting allows dynamic population to be enabled for the field and parameter names to be configured for the relevant field inputs. -
Position: 500
-
conditional_logic_field_setting
This setting allows conditional logic to be enabled for the field and the individual rules to be defined. -
Position: 525
-
conditional_logic_page_setting
This setting allows conditional logic to be enabled for the page and the individual rules to be defined. -
Position: 550
-
conditional_logic_nextbutton_setting
This setting allows conditional logic to be enabled for the next button and the individual rules to be defined. -
Position: -1
Source Code
The above settings are located in GFFormDetail::forms_page() in form_detail.php.