A hidden field can be used to pass information about contacts into your account when they submit your form. This field is not visible to your contacts. You can use a hidden field to collect information, such as UTM parameters, or even use it to help identify spam bot submissions.
- Hidden fields are text-only fields
- Hidden fields can only be used with Inline forms. Hidden fields cannot be added to floating box, floating bar, or modal forms
To add a hidden field to your form:
1. Click "Website" on the left menu to navigate to the Forms overview page.
2. Locate the form you wish to work with, then click the "Edit" button.
3. The form builder will load. All editing and style options will appear in the right pane. Click the "Fields" option on the right pane then click "My Fields."
4. Click the "Add a custom field" button.
5. An "Add Field" modal window will open:
- Type the name of the field into the "Field name" field
- Click the "Group" dropdown then click the group that this field should belong to
- Click the "Field Type" dropdown and click the hidden field option
- Click the "Add" button
6. The field will be added to the Fields > My Fields section of the right pane. You may need to scroll down through the list of fields to see it. Once you locate the hidden field you just created, drag it to your form in the form builder.
Use hidden fields to help identify spam submissions
To use a hidden field to help identify spam submissions, all you need to do is add a hidden field to your form and leave it blank. You may want to label this hidden field “Spam” or “Spam Contact” so you can easily identify it later. Then, if your form is submitted with a value for that field, you'll know that a spam bot submitted your form and not an actual person.