Forms

Pass contact property values with hidden form fields

Last updated: October 17, 2018

Applies to:

Marketing Hub
marketing-basic-pro-enterprise
Basic, Professional, Enterprise

Hidden form fields can be used to pass values into contact properties on a contact record without requiring the contact to fill in that information on the form.

For example, when a contact submits a Request a quote form, you may want them to automatically have a Status of Open. A hidden field can be used to set a value of Open on the Status contact property without the need for the contact to explicitly fill out that form field.

  • In your HubSpot account, navigate to Marketing > Lead Capture > Forms.
  • Click the name of a form or create a new form.
  • In the form editor, hover over a form field to make hidden and click the pencil icon edit.

  • In the left pane, select the Make this field hidden checkbox.
  • Next, specify the value to pass into the property on the contact record when the form is submitted. This varies depending on the property field type:
    • Date picker/Number/Single-line text/Multi-line text: enter the value in the Default value text field

    • Dropdown select/Multiple checkboxes/Radio select: select the value from Field options.

    • Single checkbox: click to toggle the Select checkbox by default checkbox on.

  • In the upper right, Save or Publish your changes.

Was this article helpful?

If you still need help you can get answers from the , or to contact support.