Besides inserting fields that belong to the post, you can add any other fields to Toolset forms. 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 Insert Generic Fields and the following dialog box open.

Inserting generic fields to forms
Inserting generic fields to forms

You can choose from different field types. Clicking on one will open an additional dialog, with the field’s 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 your application requires. Your processing should go into PHP code and run on Forms hooks.

Examples

Visit this tutorial to see a simple application for a Generic Field – using a checkbox field to confirm the terms of use and displaying an extra message when the field is checked. For this purpose we will also use the Forms Conditional Groups.

You may also visit our Automated Email Notifications with Forms User Guide to see an example of sending an automatic email notification to a User specified in a generic field.