Conditional Logic
Building Forms

Conditional Logic

Show or hide fields based on user answers to create dynamic, personalized flow form experiences.

Available in Flow Forms

Conditional logic is available for Flow Forms, allowing you to create branching, conversational experiences.

What is Conditional Logic?

Conditional logic lets you control which fields appear based on previous answers. This creates shorter, more relevant forms that adapt to each user. Fields that don't meet their conditions are automatically skipped during navigation.

Show Field

Display a field only when conditions are met. Hidden by default until triggered.

Hide Field

Hide a field when conditions are met. Visible by default until triggered.

Example Use Case

Contact Form with Role-Based Questions

Question 1: What describes you best?

CustomerPartnerDeveloper
Show if "Developer" is selected

Question 2: What's your tech stack?

✓ Only shown when "Developer" is selected

When a user selects "Customer" or "Partner", they skip straight to the next relevant question.

How to Set Up Conditional Logic

  1. 1

    Open the Flow Form editor

    Navigate to your form and click "Edit" to open the form builder

  2. 2

    Select a field

    Click on any field (except the first one) in the left sidebar to select it

  3. 3

    Find the Logic section

    Scroll down in the right sidebar to find the "Logic" section with the branch icon

  4. 4

    Add a condition

    Click "+ Add condition" to create your first rule

  5. 5

    Configure the rule

    Choose the trigger field, select an operator, and enter the value to match

Combining Multiple Conditions

You can add multiple conditions to a single field. Use the logic type dropdown to control how conditions are combined:

ALL conditions

All conditions must be true (AND logic). Field shows only when every condition matches.

Example: Show if role = "Developer" AND experience = "Senior"

ANY condition

At least one condition must be true (OR logic). Field shows when any condition matches.

Example: Show if role = "Developer" OR role = "Designer"

Available Operators

Equals

Field value matches exactly (case-insensitive)

Does not equal

Field value does not match

Contains

Field value contains the specified text

Does not contain

Field value does not contain the text

Is empty

Field has no value or is blank

Is not empty

Field has any value

Greater than

Number is greater than value

Less than

Number is less than value

Is selected

Option is selected in multi-select fields

Is not selected

Option is not selected in multi-select

Smart Features

🎯 Smart Value Selection

When you reference a multiple choice, dropdown, or checkbox field, the value input becomes a dropdown showing all available options from that field.

📊 Dynamic Progress

The progress bar and step counter automatically update based on visible fields. If conditional logic hides 3 fields, users see the correct "2 of 5" instead of "2 of 8".

⚡ Instant Evaluation

Conditions are evaluated in real-time as users answer. When selecting a choice option, the form immediately knows which field to show next.

Best Practices

Only reference fields that appear BEFORE the conditional field
Test your form by going through all possible paths
Use clear, descriptive field labels to make conditions readable
Start simple with one condition, then add complexity as needed
Hidden fields are skipped - ensure required data has a path to collection
Avoid making the first field conditional (it has no previous fields to reference)

Did this answer your question?

Conditional Logic - Dynamic Form Branching | Orbit AI | Orbit AI