Conditional logic

Show or hide form fields automatically based on what a visitor answers, using eight operators and all/any rule matching.

Conditional logic lets any field show or hide itself automatically based on what the visitor has already answered in other fields. It is evaluated live as the form is filled in, so the form adapts in real time — and a field hidden by a rule is removed cleanly: its inputs are disabled, so they are never validated and never submitted.

Turning it on

In the form builder, select a field, scroll to the Conditional Logic section, and tick Only show this field conditionally. Three controls appear.

Action — what happens when the rules match:

  • Show this field — the field is hidden by default and appears only when the rules match.
  • Hide this field — the field is visible by default and disappears when the rules match.

When — how multiple rules combine:

  • All rules match — every rule must be true (AND).
  • Any rule matches — at least one rule must be true (OR).

Rules — one or more rows, each in the form [another field] [operator] [value]. Add rows with + Add rule and remove them with the ×.

The operators

Each rule compares the chosen field’s value against the value you enter, using one of eight operators:

  • is — the field’s value equals your value exactly. Exact and case-sensitive.
  • is not — the value is anything other than yours. Exact and case-sensitive.
  • contains — the value includes your text anywhere within it. Case-insensitive.
  • does not contain — the value does not include your text. Case-insensitive.
  • is empty — the field has been left blank.
  • is not empty — the field has any value.
  • greater than — a numeric comparison; both sides are read as numbers.
  • less than — a numeric comparison; both sides are read as numbers.

Examples

  • Show a field for a specific choice. Show Company Name when Customer Type · is · Business.
  • The “Other, please specify” pattern. Show a text field when Enquiry Type · is · Other.
  • Hide instead of show. Hide Shipping Address when Same as billing · is · Yes.
  • Trigger on a keyword. Show Tell us more when Message · contains · urgent.
  • Only when something is filled in. Show Preferred callback time when Phone · is not empty.
  • Number thresholds. Show Volume pricing when Quantity · greater than · 50.
  • Combine with AND. Show Enterprise options only when Plan · is · Enterprise and Seats · greater than · 25 (set When to All rules match).
  • Combine with OR. Show How should we reach you? when Phone · is not empty or Email · is not empty (set When to Any rule matches).

Good to know

  • Rules reference other fields, not the field’s own value.
  • A field uses one Action and one When mode. You can make all rules apply (AND) or any rule apply (OR), but not a mix within a single field. To build mixed logic, split it across more than one field.
  • The value is entered as plain text, so when the field you’re testing is a dropdown, radio, or checkbox, type the option’s value exactly — a mismatch means the rule never matches.
  • is / is not are exact and case-sensitive; contains / does not contain are case-insensitive. Reach for contains when capitalisation might vary.
  • Conditional logic controls field visibility — it does not currently decide which notification is sent or which confirmation is shown.