Product-Level Conditional Logic in Forms & Surveys

Form and survey conditional logic can now use a specific product or variant as the trigger. Show or hide fields, show a custom message, send people to a different page, or disqualify a lead based on what they chose.

What Is Product-Level Conditional Logic?

Conditional logic in Forms and Surveys now supports product-level conditions. You can build an IF condition around a specific product, and you can show or hide individual products and variants in the Sell Products element of an order form.

Tip: This is great for order forms with more than one tier. Ask VIP buyers for their intake details and skip those questions for everyone else, or send each tier to its own thank-you page.

Product-Based Conditions

You can choose a product when you set up an IF condition for any of these four conditional logic types:

  • Redirect to URL: Send people to a specific URL based on the product they selected.
  • Display custom message: Show a different message depending on the product selected.
  • Disqualify lead: Disqualify a lead based on the product they selected.
  • Show/Hide Fields: Show or hide fields based on the products selected.

Surveys also have a fifth logic type, Jump To, which sends people to a specific slide.

Showing and Hiding Individual Products and Variants

Within the Show/Hide Fields logic type, you can:

  • Show or hide entire products within the Sell Products element.
  • Show or hide specific product variants.
  • Control visibility based on a customer's choices and responses.

You can still show or hide the entire Sell Products element, as before.

For example, an order form can offer different products and variants based on earlier answers, keeping options that don't apply hidden.

How to Set Up Product-Based Conditional Logic

1. Open your form or survey

From the left-hand menu, select Sites, then Forms or Surveys. Click the name of the form or survey to open it in the builder.

2. Add products to Sell Products

Your form needs a Sell Products element with at least one product. If it doesn't have one yet, click Add Form Element (+), drag in Sell Products from the Payments section, then click Add Products and choose your products.

Important: Products only show up in conditional logic after you add them to the Sell Products element. If you don't see a product option, check this first.

3. Open conditional logic

In a form, or in a survey you created recently, click Open Conditional Logic in the builder's top-left toolbar, next to the +.

In an older survey, the button isn't in the toolbar. Click any question to select it, click its settings (gear) icon, and click Open Conditional Logic in the Logic section.

The Conditions dialog opens. Choose the logic type you want.

The Conditions dialog with Redirect to URL, Display custom message, Disqualify lead, and Show/Hide Fields

4. Set your IF condition to a product

Under If, choose Sell Products in the first dropdown. Then pick the product, and choose Is selected or Is not selected.

A Show/Hide Fields rule with If set to Sell Products, a product, and Is selected

5. Choose what to show or hide (Show/Hide Fields only)

Under Then, choose whether to hide or show (for example, Hide Field), then choose Sell Products. Pick one of these:

  • Entire section: Hides or shows the whole Sell Products element.
  • Specific products: Search for products or variants and check the ones to hide or show. Use Select all or Clear to speed things up. You need to pick at least one product or variant.

The Specific products option with the Search products or variants box and a product checkbox

6. Save

Click Save in the rule, then Save your form or survey.

Good to Know

  • Product options only appear after you add products to the Sell Products element.
  • Product-based conditions work in both forms and surveys, and apply to new and existing ones.
  • All four logic types support product-based conditions.
  • You can show or hide individual products and variants with conditional logic.
  • Showing or hiding the entire Sell Products element still works.