- Knowledge Base
- Marketing
- Forms
- Set property values with hidden form fields
Set property values with hidden form fields
Last updated: July 22, 2026
Available with any of the following subscriptions, except where noted:
Use hidden form fields to automatically set property values when a form is submitted without requiring visitors to enter it manually. Hidden form fields capture known values passed at the time of submission, such as the form field's default value or information from a query string or page URL.
For example, when a visitor submits a Request a quote form, you can automatically set their Status property to New, without displaying that field on the form.
You can also use hidden fields to capture URL parameters, such as UTM values (e.g., utm_campaign), and store them in contact properties upon submission. Learn how to pass UTM parameters to a HubSpot form.
Permissions required Edit forms permissions are required to create and edit forms.
Before you get started
- 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
- In your HubSpot account, click More, then navigate to Marketing > Forms. If More doesn't appear in your account, navigate to Marketing > Forms directly.
- Click the name of a form or create a new form.
- In the form editor, hover over a form field to hide and click the edit edit icon.
- In the sidebar editor, toggle the Hidden field switch on.
- In the Default value field, specify the value to pass to the property 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.
- In the top right, click Review and update.