A Hidden field is not visible in a form. It is used for storing a value that can not be seen in the front-end form. It is commonly used to store a calculation, a dynamic default value, or a static default value.
A Hidden Field has the following options:
Note: Fields that are not Hidden Fields can still be hidden from view by using the Formidable CSS shortcode frm_hidden
Default values and field icons
Set a dynamic default value in your Hidden Field. If you would like to retrieve a value from an entry see the Get a Value From an Entry page. If you would like to set a default value, see the Default Values page.
Field action icons allows you to duplicate, delete, and/or move a field on the form builder page. See field action icons for more information.
Display Hidden fields
Even though the field is hidden in the form, you can still display a Hidden field's submitted value in a form's confirmation message, email, or View. Just insert [x], where x is the ID or key of the Hidden Field.
Related developer hooks
- Make sure that only an admin user can change the value of a hidden field with the frm_validate_field_entry hook.