Skip to content

Hide or show form steps with conditional logic

Last updated: December 8, 2025

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

Use conditional logic in your multi-step forms to manage which steps are displayed based on a visitor’s responses. This helps you show only the steps that are relevant to the visitor, based on the information they provide. For example, on an event registration form, you can hide or show steps based on the visitor's selected event.

Once a visitor completes the relevant steps, any hidden steps will be skipped so they can submit the form and continue to the form's thank you message.

If you're a Super Admin, you can opt your account into the Enhanced multi-step form logic (hide & show steps) beta to access this feature.

Hide or show form steps

To hide or show form steps with conditional logic, your form must have two or more steps. Learn more about adding form steps.

  1. In your HubSpot account, navigate to Marketing > Forms.

  2. Create a new form or hover over an existing form and click Edit.
  3. In the upper left, click the workflows Logic icon.
  4. In the left panel, click Add logic.
  5. Configure the rule’s logic by setting the following:
    • In the If field section, click the dropdown menu and select the form field that the rule will be applied to.
      • Click the subsequent dropdown menus and select the operator and property values for your preferred logic. 
      • To add another filter to the rule, click Add filter to this group
      • To add another filter group to the rule, click Add group
    • In the Then section, click the dropdown menu and under On-form actions, select from the following:
      • Hide steps: selected form steps will be hidden from the visitor if they meet the conditions.
      • Show steps: selected form steps will be displayed for the visitor only if they meet the conditions. If the visitor doesn’t meet the conditions, the selected steps will remain hidden on the form. 
      • Click the dropdown menu and select the checkboxes next to each step you want to hide or show.
  6. To apply your conditional logic, click Save and Activate. Learn more about adding conditional logic to your forms.

Please note: the Skip to step form action is being deprecated. If your form is actively using conditional logic to skip form steps, the existing logic will continue to hide your form steps. When editing an existing form’s logic, it’s strongly recommended to replace the Skip to step action with Hide steps or Show steps

Form editor showing conditional logic to hide form steps in a multi-step form.

 

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