Skip to main content
All CollectionsBuild & customizeForm logic & calculations
How conditional logic works with multi-choice questions
How conditional logic works with multi-choice questions

For multi-step forms, use "Jump to" logic to show/hide questions based on previous answers. Add conditions for each option.

Updated over a month ago

Conditional logic allows you to show or hide specific fields based on user responses to multi-choice questions.

This feature is particularly useful when you want to guide users through a form or show different information based on their answers.

Understanding conditional logic with multi-choice questions

You can create different types of logic based on how users answer multi-choice questions.

Here are two common scenarios:

  1. Scenario 1: Multiple conditions must be met ("And" logic)

    • If the user selects both option A and option B, then show a specific field (e.g., an email field).

  2. Scenario 2: Different conditions lead to different results ("Or" logic)

    • If the user selects option A Or Option B, show one field.

    • If the user selects option C, show another field.

Each of these rules results in different outcomes based on how users interact with the form.

Example 1 — Using "And" logic for multi-choice questions

In this example, we'll create a scenario where both conditions must be true to show a field:

  1. Add a multi-choice question

    • Let's say the question is: "Which two services are you interested in?"

    • Options: Service A, Service B, Service C.

  2. Set up logic using "And" conditions

    • Click the Add Condition button and set up the next condition as follows:

      • Condition 1: If the answer is Service A,

      • And Condition: If the answer is Service B,

      • Result: Show the email field.

This logic ensures that the email field appears only when both Service A and Service B are selected.

advanced logic

By applying this logic, the email field will only appear when both conditions (Service A and Service B) are selected.

show hide logic

Example 2 — Using "Or" logic for multi-choice questions

In this example, different answers will trigger different fields:

  1. Add a multi-choice question

    • The question is: "What is your preferred contact method?"

    • Options: Email, Phone, Social Media.

  2. Set up logic using "Or" conditions:

    • Click the Add Condition button and configure as follows:

      • Condition 1: If the answer is Email,

      • "Or" Condition: If the answer is Phone,

      • Result: Show the Long Text field.

      • Condition 2: If the answer is Social Media, show the social media handle field.

This setup shows different fields based on the user's chosen contact method.

conditional logic

Each response triggers a different field based on the user's selection.

multi choice logic


🌟 Pro tip:

When writing the logic, it is important to consider that the logic rules should not overlap with each other, and for different scenarios, avoid using the same logic.

Visualize logic with the logic map

When working with multi-choice questions and conditional logic, a logic map offers a clear way to visualize the flow of responses and outcomes.

logic map

This is especially helpful with multi-step forms, where you might need to track multiple outcomes based on different answers.

Benefits of using a logic map for multi-choice questions

  • Easily understand logic flow: A logic map helps to break down complex "And" and "Or" conditions, showing you exactly how each answer affects the form’s behavior.

  • Troubleshoot more efficiently: By viewing the logic visually, you can quickly identify overlaps or errors that might occur if certain conditions aren’t met.

  • Optimize user experience: Ensuring logic is clean and sequential creates a smoother, more intuitive experience for users.

How to access the logic map

  1. Open the logic tab: In your form editor, go to the Logic tab, where all the conditions are set.

  2. Select the Logic Map overview option: From here, open the Logic Map overview section to see a diagram that represents each possible branch based on the user’s selections.

logic map overview

The logic map is an invaluable tool when configuring complex conditions with multi-choice questions.

It provides a bird’s-eye view of the form flow, allowing you to see how each question connects based on user input.

📝 Additional insights:

Summary of Key Logic types

  • "And" logic: Use when multiple conditions must be met for a specific action (e.g., showing a field).

  • "Or" logic: Use when different responses trigger different actions (e.g., showing specific fields based on individual answers).

Implementing conditional logic in your form

  1. Go to the logic tab:
    In the form editor, click on the logic tab for the multi-choice question.

  2. Add conditions:
    Create the conditions based on the user’s answers:

    • For "And" logic, ensure that multiple conditions are required to show a field.

    • For "Or" logic, set individual conditions for each option to show the corresponding field.

  3. Test the logic:
    Preview the form to make sure the correct fields are shown or hidden based on the conditions

    Using conditional logic with multi-choice questions helps you create dynamic and personalized form experiences for users, guiding them to the relevant sections based on their input.

Did this answer your question?