Toolset 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.

In the following example, we will describe the procedure for Custom Fields. In case you want to control User Fields, you can navigate to Toolset -> User Forms, click on Manage non-Toolset User Fields and follow the same process.

Custom Fields settings in Forms
Custom Fields settings in Forms

Select the post type for which you want to display custom fields.

For a post type to be selectable here, it needs to be configured as public, publicly queryable and visible in the GUI.

You can choose to display hidden custom fields (which are normally not showing in the WordPress admin). Then, click Apply.

Forms will display all custom fields that are being used by the post type.

Click Add to include them in Forms forms.

Forms - Custom Fields Control Dialog

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 – Forms 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 Forms, you will be able to insert them into forms. Forms 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 Forms management by using the Remove link.