Skip to content
Forms

Set up and style forms on HubSpot pages

Last updated: October 26, 2022

Applies to:

All products and plans

After creating a form in HubSpot, you can add it to any form module on a HubSpot page.

On each page, you can also configure what happens after the form is submitted and customize the styling for elements of your form such as the submit button and form fields.

Please note: settings and styling changes will only apply to the form module on the selected page and will not affect your form on other pages.

Set up your forms

To set up your form on a HubSpot page:
  • In your HubSpot account, navigate to your landing pages or website pages.
  • Hover over an existing page with a form module and click Edit, or create a new page.
  • In the page editor, click the form module.
  • On the Content tab in the left panel, customize the form's settings for this page:
    • Form title: enter a name for the form.
    • Choose a form: select a form for this page.
      • To use an existing form, click the dropdown menu and select a form
      • To create and use a new form, click Actions > Create new form. Learn more about setting up forms
      • To view submissions for this form, click Actions > View form submissions.
      • To clone this form, click Actions > Clone form.
      • To review any other pages using the selected form, click Actions > Pages using this form.
      •  To edit the form in the form editor, click Actions > Go to full forms editor



Customize your form content

To edit your form fields, button text, and GDPR settings:
  • Click to expand the Form content section.
  • Configure your form content:  
    • Form fields: drag and drop fields to edit the order displayed in the form. It is not possible to drag and drop form fields with multi-column forms or when part of a custom module. To add additional form fields:
      • Click + Add another form field.
      • Click the Choose a property dropdown menu and use the search bar to search for a field. 
      • Click the property to add it as a form field. 

Configure your post-submit actions 

To configure what happens after a form is submitted:

  • Click to expand the Thank you section.
  • In the What will a visitor see after submitting your form section, configure your post-submit actions: 
    • Redirect to another page: redirect a visitor to another page after form submission.
      • Click Redirect to another page.
      • Click the Redirect link dropdown menu and select an existing HubSpot page or enter a URL.
    • Display an inline thank you message: display a message after the visitor submits the form.  You can enter a thank you message in the text box.


Configure your form automation

To configure your form automation options: 

  • Click to expand the Form automation section.
  • Configure the following automation options:  
    • Always create new contact for email address: create a new contact record every time a form is submitted with a new email address, regardless of any matching usertokens with existing contacts from the form submission. 
    • Set contacts created as marketing contacts: set any contacts created through this form as marketing contacts.
    • x simple workflows using this form: the number of simple workflows using this form as an enrollment trigger. It is recommended to use simple workflows to send follow-up emails. Learn more about simple workflows when using automations with forms
    • Workflows: any workflow using the form as an enrollment trigger will display.
      • To use the form as a trigger on a workflow, click Add form to a workflow or Add form to another workflow
      • To remove the form as a trigger on a workflow, hover over the workflow and click the X icon next to the workflow. 



Configure additional form options

You can also configure additional settings such as selecting your form notification recipients. Additionally, if you've installed the HubSpot-Salesforce integration, you can also associate the form with an active Salesforce campaign.

To configure your form's additional options:  

  • Scroll to the bottom of the left panel, then configure the following options:
    • Send form notifications to specified email addresses instead of the form defaults: by default, form submission notifications will be sent to any recipients added in the form's Options tab. To overwrite the form's default recipients and select notification recipients for submissions on this page:
      • Click to toggle the Send notifications to specified email addresses instead of the form defaults switch on.
      • Click the Email addresses dropdown menu and select your recipients. Only HubSpot users can be selected as form notification recipients.  
      • To remove a recipient, click the X icon next to the recipient's email address. 
    • Salesforce campaign: if you have the Salesforce integration enabled, you can associate a form with an active Salesforce campaign by clicking the dropdown menu and selecting a campaign. Learn more about associating forms with Salesforce campaigns.

Style your forms on HubSpot pages

Please note: forms that appear on HubSpot pages can only be custom styled on a page-by-page basis. Embedded forms on external pages or standalone form pages must be styled in the form editor or styled with CSS in your external stylesheet.

 

To customize the styling of your overall form or make specific styling changes to the submit button or form fields:

  • At the top of the left panel, click the Styles tab.
  • Click the Module, Fields, or Buttons tabs to select the element of your form you want to style. 
  • Customize the selected element of your form using the text and alignment options below.
  • Click Publish or Update to take your changes to the page live.

 

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