bookmark_borderPost Custom Field
The Post Custom Field allows users to submit data that is then used to populate a custom field value for a post. This field works in tandem with the other Post fields to allow you to create a form that can generate post data from a user submission
- Field Label
Enter the label of the form field. This is the field title the user will see when filling out the form.
Enter the description for the form field. This will be displayed to the user and provide some direction on how the field should be filled out or selected.
Select the type of field from the available form fields. Note: the Post Custom Field field will assume the properties and options of the selected field type. For example, if Single Line Text is selected, the *Maximum Characters* and *Enable Password Input* options would become available for this field.
Custom Field Name
Select the custom field name from available existing custom fields, or enter a new custom field name.
Create Content Template
Check this option to format and insert form fields as the content of this field.
Input masks provide a visual guide allowing users to more easily enter data in specific format such as dates and phone numbers.
Enter the maximum number of characters that this field is allowed to have.
These properties set rules for how the data should be handled.
A required field will prevent the form from being submitted if it is not filled out or selected.
Prevents the submission of duplicate information.
The Placeholder option allows you to place text within the field, giving the user more information as to what is expected.
Overrides the default placement, allowing you to place the description either above or below the field.
If you would like to override the default error validation for a field, enter it here. This message will be displayed if there is an error with this field when the user submits the form.
Custom CSS Class
Enter the CSS class name you would like to use in order to override the default styles for this field.
Select a form field size from the available options. This will set the width of the field.
- Admin Field Label
Enter the admin label of the form field. Entering a value in this field will override the Field Label when displayed in the Gravity Forms administration tool.
If you would like to pre-populate the value of a field, you can specify a static value or select a variable value from the predefined list.
Enable Password Input
Checking this option will convert the single line text field into a password field. The password field will mask the user input (displayed as circles or asterisks).
Select the visibility for this field. Field visibility set to Everyone will be visible by the user submitting the form. Form field visibility set to Admin Only will only be visible within the Gravity Forms administration tool. Setting a field to Admin Only is useful for creating fields that can be used to set a status or priority level on submitted entries.
Allow field to be populated dynamically
Check this option to enable data to be passed to the form and pre-populate this field dynamically. Data can be passed via Query Strings, Shortcode and/or Hooks.
Enable Conditional Logic
Create rules to dynamically display or hide this field based on values from another field. Remember, to use conditional logic, you will need to create a drop down, checkbox or multiple choice field.
This merge tag does not have any modifiers.