CRED forms can include Custom and User fields that are defined by other plugins and the theme.
To control Custom Fields, go to Toolset -> Post Forms and click on Manage non-Toolset Post Fields, in the section just below the list of your forms.
Select the post type for which you want to display custom fields. You can choose to display hidden custom fields (which are normally not showing in the WordPress admin). Then, click Apply.
CRED will display all custom fields that are being used by the post type. Click Add to include them in CRED forms.
You will select the kind of input to use for each of the fields and enter the appropriate arguments.
Fields have these options:
- Required – if not entered, the form cannot be submitted
- Validate format – CRED will ensure that field input is compatible with the field type (only applicable to some field types)
- Include this field in Scaffold – the field will automatically appear when you use the Auto-Generate Form feature.
Once you’ve added custom fields to CRED, you will be able to insert them into forms. CRED will save the field values to the database when submitting the forms and load them from the database when editing content.
You can remove the fields from CRED management by using the Remove link.