🥳 Celebrate Our Launch With a $200 LIFETIME Discount OFF The Premium Plan Use: BIRTHDAY2024

This offer expires 9/30/2024, at 11:59 PM EST

BizStackPro all-in-one digital marketing platform dashboard.
How to Use Conditional Logic in Forms – BizStackPro Help

BizStackPro Forms Help Guide

How to Use Conditional Logic in Forms

Build smarter forms by showing or hiding fields, redirecting users, displaying messages, disqualifying leads, and controlling payment elements based on responses.

Quick Answer

What can conditional logic do in a form?

Conditional logic lets your form react to user input. You can redirect visitors, display custom messages, disqualify leads, show or hide fields, and control payment elements based on the answers they provide.

Building Forms That Adapt to Each User's Input

Not every person completing a form needs to see the same fields or follow the same path.

Conditional logic allows a form to react to input by showing or hiding fields, redirecting users, displaying different messages, disqualifying leads, or controlling payment elements.

Without logic, forms can feel longer and less relevant, which can reduce completion rates.

Conditional logic helps guide visitors toward the appropriate outcome based on what they choose or enter.

Follow along

Open your form in Sites → Forms → Builder, add your logic rules, then test each path in Preview.

Conditional Logic at a Glance

Redirect Specific URL
Message Custom Response
Lead Control Disqualify
Field Control Show or Hide
Payment Control Conditional Payment

Before You Begin

Open an existing form or create a new one in Sites → Forms → Builder.

  • Add the fields you need, including any qualifying question you want to use as the basis for a logic rule.
  • Save the form before configuring and testing the logic.

Step 1: Create or Edit Your Form

Open Forms

Go to Sites → Forms.

Open the Builder

Create a new form or open an existing form in the Builder.

Add the Fields

Add the fields you need, including any qualifying question you want to use for conditional logic.

Save the Form

Click Save.

Step 2: Add Conditional Logic Rules

Open the logic settings and create conditions based on the value of a form field, then choose the outcome you want.

Redirect URL

Send users to a specific page when a condition is met.

Display Custom Message

Show a tailored message based on the user's response.

Disqualify Leads

Disqualify a lead based on predefined answers.

Show or Hide Fields

Reveal or hide form fields dynamically based on responses.

Conditional Payments

Show or hide payment elements based on the visitor's selection.

Example

If “Are you a business owner?” equals Yes, show the “Business Name” field. If the answer is No, hide the field or redirect the visitor to another page.

Logic can override on-submit actions

Conditional logic can take precedence over on-submit actions such as redirects or thank-you messages when the condition is triggered.

How to Use Conditional Payment Elements

Conditional payments can be used when payment should only appear for certain responses, such as when a visitor chooses an additional paid option.

Step 1: Open the Form Builder

Open your form in the Form Builder.

Step 2: Select the Trigger Field

Select the field you want to use for the condition, such as a dropdown or radio option.

Step 3: Create the Condition

Create a condition based on the required response, such as the response equaling Yes.

Step 4: Add the Payment Element

Add the payment element to the form.

Step 5: Control Visibility

Configure the payment element to show or hide based on the condition.

Step 6: Save and Test

Save the form and test the complete flow in Preview.

Test both responses

Submit mock data using both the triggering and non-triggering answers to confirm that the payment element appears and hides correctly.

Best Practices & Notes

AND vs. OR
Note: Switching between AND and OR updates the logic operations to match the selected rule type.
Field Availability
Note: Only relevant fields may appear in logic filters depending on the field type and context.
Logic Priority
Note: Conditional logic can take precedence over on-submit actions such as redirects or messages.
Unsupported Fields
Limitation: Checkbox and multi-select fields are not supported for conditional logic.
Test Every Branch
Test: Preview the form and run test submissions through each branch of the conditional logic.

Frequently Asked Questions

What is conditional logic in forms, and why is it useful?

Conditional logic lets your form react to user input (show/hide fields, redirect, display messages, or disqualify leads), creating a more relevant and streamlined experience.

Can I use conditional logic with any type of form field?

Conditional logic works with most form fields, but checkbox and multi-select fields are not supported.

How do I set up conditional payment elements in my form?

Create a condition based on a field (like a Yes/No choice) and configure the payment element to show or hide depending on the response.

What happens if my form has both conditional logic and on-submit actions?

Conditional logic takes precedence over on-submit actions such as redirects or thank-you messages.

Can I switch between AND and OR conditions in my logic settings?

Yes. Switching between AND and OR updates the logic operations to match your selected rule type.

Continue Learning

Continue with related Forms guides for building forms, testing conditional paths, and working with payment elements.

Recommended Next Step

Test Every Logic Path

After creating your conditions, submit mock data through each branch of the form to confirm that fields, redirects, messages, disqualification rules, and payment elements behave correctly.

Build Dynamic Forms Without Extra Pages

Conditional logic helps forms guide visitors toward the right outcome while showing only the fields, messages, redirects, and payment options that apply to their responses.

Disclaimer: This site is NOT endorsed by Google, Facebook or YouTube in ANY WAY. All trademarks & Logo / branding are the property of their respective owners. Please Note: This site was created in BizStackPro by Ken George II (An Affiliate of BizStackPro) and may contain affiliate links.

All About BizStackpro


Copyrights 2024 | AllAboutBizStackPro.Com | Pricing | About | Features | All Rights Reserved.