Skip Navigation

Adding Generic Fields to Forms in WordPress

Besides inserting fields that belong to the post, you can add any other fields to Toolset forms. These generic, non-post fields can serve for anything that you need, which doesn’t go into the database with the post.

In the form editor, click Generic Fields to expand the list of available fields.

Inserting generic fields to forms
Inserting generic fields to forms

You can add different types of generic fields. To insert them, simply drag-and-drop them into the main editing area.

After placing a generic field into the From click on it to set its options.

You should never use special characters in field slugs. This is especially for apostrophes like ' and ".

Field options
Clicking the generic field to see its options

Processing Generic Fields

The generic fields that you add to the form are not part of the post, so Forms will not process them automatically.

You are free to use generic fields for whatever purpose your application requires. Your processing should go into PHP code and run on Forms hooks.

Updated
novembre 16, 2020