Hidden Field Component

Include hidden information when form submits.

On this page:

Last reviewed: May 31, 2022

Note: all form field names must be unique

For example, if you build your form by copying a component (e.g. to add a second Text Field), be sure to change the ID.

Using This Component

Add the component to the page between the Start of Form and End of Form sections of the Form Container component. It has one tab.

Technical Restrictions

  1. This component must be placed between the Start of Form and End of Form sections of the Form Container component.
  2. We discourage building forms in shared content -- this practice may interfere with normal functionality, such as validation.

Configure - Main Settings

Name and Value Tab

Element Name: Specify the ID to be associated with this field when the data is stored or emailed. Required.

  • The ID must start with a letter, and can include only letters, numbers, underscores and hyphens.
  • The ID is not visible to the public.

Value: Specify the pre-determined fixed value for this setting.

Use parameters: Select if desired. Developers only!

  • Allows authors to preload this form value from the URL that loaded the form. 
  • e.g. If the field name is 'myfield' and the page URL is '…/form.html?myfield=123' then the default value of the field when the form is first loaded would be "123."
  • This can be useful to solve a variety of things, such as a contact form that is preloaded with a different 'To' address depending on which link was first clicked. While the initial destination would be pre-selected, the visitor could see that choice and adjust as necessary.

See an Example

[Sorry, we can't actually show you hidden information.]

Was This Information Helpful?

(Required)
(Required)
(so we can thank you or request more details)
(Required)
(buffalo.edu addresses only please)
(Required)