Skip to content

Pass contact property values with hidden form fields

Last updated: October 9, 2025

Available with any of the following subscriptions, except where noted:

You can use a hidden form field to pass a value into a property without requiring contacts to fill in the corresponding form field. For example, when a contact submits a Request a quote form, you may want them to automatically have a Status of New. You can use a hidden field to set a value of New on the Status contact property without the contact explicitly filling out that form field.

Limitations and considerations

  • If the Required field option is toggled on for your form field, this field cannot be set as hidden. 
  • If the Pre-populate fields for returning visitors option is toggled on for your form, the specified value for your hidden form field may be overwritten depending on the property's field type.

Set a form field as hidden

  1. In your HubSpot account, navigate to Marketing > Forms.
  2. Click the name of a form or create a new form.
  3. In the form editor, hover over a form field to hide and click the edit edit icon.
  4. In the sidebar editor, click to toggle the Hidden field switch on.
  5. In the Default value field, 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 checkbox next to the options you want to use from Field options.
    • Single checkbox: select the Yes, No, or No value radio button.
  6. In the top right, click Review and update.

Screenshot of the form editor's content sidebar, highlighting the toggle to set a form field as a Hidden field.

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.