The hidden field lets a form include data that cannot be seen or modified by users when a form is submitted.
To learn how to add, edit, clone, move, or delete a hidden field, please click here.
You can edit any of the settings and then click the ‘Save’ button to save your changes. If you do not want to save your changes, you can click the ‘Cancel’ button or click any other form element to close the field settings sidebar.
The label for a hidden field is solely used to identify the hidden field in the administration system. As well as entering a label into this field, you can also double click the label of the field in the editor. You should enter an easy-to-understand label for your field, for example, ‘IP Address’.
The default value setting is used to populate the field with some default content. Default values are stored when the form is saved or submitted. An example default value could be
#tracking_remote_ip to insert a user’s IP address into a hidden field.
WS Form variables can be entered into this field.
Exclude From Emails
By default, WS Form uses the
#email_submission variable in email templates. This provides a simple way of displaying all of the submitted fields in emails. Sometimes there might be a need to exclude a field from an email, for example, you might want to not include some introductory copy on a form, or hide a field you’re using with conditional logic to show or hide an element.
To hide a field from emails, check this box.
Other WS Form add-ons may add exclusions in this section too, such as the WooCommerce add-on which allows you to exclude certain fields from the cart entries.