Skip to main content
Conditional logic lets you show or hide fields based on answers to earlier questions. Rules are evaluated in real time — fields appear and disappear as the user fills out the form.

Structure

Each field can have one conditionalLogic rule:

Properties

Condition Structure

Operators

Examples

Show a follow-up field

Show a text field only when the user selects “Other” from a radio:

Hide a field based on NPS score

Hide a question unless the NPS score is low:

Multiple conditions (AND)

Show a field only if the user is a Pro customer AND has submitted before:

Multiple conditions (OR)

Show a field if the user selected either “email” or “phone”:

How It Works

  • Conditions reference fields by ID — the id property on a FormField
  • Fields referenced in conditions must appear before the conditional field in the fields array
  • Hidden fields are excluded from submission — their values are not sent
  • In conversational mode, hidden fields are skipped automatically in the navigation sequence
  • The statement and divider types are always excluded from submissions regardless of visibility