All docs
Building formsUpdated

Conditional logic

Use conditional rules to reveal or hide individual fields based on earlier answers, so respondents only see the questions that apply to them.

Key points
  • Conditional logic is field-level: each rule shows or hides one field based on another field's answer.
  • A rule watches another field's value and, when it matches, either shows or hides the target field.
  • Operators available: equals, not equals, contains, is not empty, and is empty.
  • There is no page-level or step-level logic — rules always act on a single field.
  • Place a conditional field after the field it depends on so the watched answer is filled in first.

Conditional logic lets a field appear or disappear depending on what someone answered earlier. Instead of showing every possible question to everyone, you reveal a field only when it is relevant — which keeps forms short and respondents focused.

In Formiqa, conditional logic works at the field level. Each field can carry one or more rules, and every rule watches another field's value and decides whether to show or hide the field it is attached to.

When to use it

Conditional logic shines whenever a question only matters to some respondents. A few common examples:

  • Show a Which product? field only when someone selected Existing customer.
  • Reveal a Shipping address field only when the Delivery method is set to Deliver.
  • Ask Please tell us more only when the rating chosen is Not satisfied.
  • Show a Company name field only when Account type equals Business.

How to add a rule

Conditional rules are configured in the field editor. Select the field you want to show or hide, then set up its rule:

  1. 1Select the target field — the one you want to show or hide — to open the field editor.
  2. 2Open its conditional rules section.
  3. 3Pick the watched field whose answer the rule should react to.
  4. 4Choose an operator (equals, not equals, contains, is not empty, or is empty).
  5. 5Enter the value to compare against, when the operator needs one.
  6. 6Choose the action — show or hide the target field when the condition is met.

Operators

Each rule uses one of these operators to test the watched field's value:

  • Equals — the watched field's answer is exactly the value you entered.
  • Not equals — the answer is anything other than the value you entered.
  • Contains — the answer includes the value you entered somewhere within it.
  • Is not empty — the watched field has been answered.
  • Is empty — the watched field has been left blank.

Tips

  • Place a conditional field after the field it depends on, so the watched answer is filled in before the rule needs to evaluate it.
  • Combine several rules on one field when it should appear under more than one condition.
  • Keep the watched value consistent with the exact option text — equals and contains compare against what the respondent actually sees.
  • Pair conditional logic with validation and required fields so a revealed field is only required once it is visible.

Frequently asked questions

Can I show or hide a whole page or step with conditional logic?
No. Conditional logic is field-level only. It shows or hides individual fields based on another field's answer — it cannot skip or branch entire steps of a multi-step form.
Can one field have more than one rule?
Yes. Each field can carry one or more conditional rules, which is useful when a field should appear under several different conditions.
Why isn't my conditional field appearing?
Check that the watched field comes before the conditional field, and that the value in your rule matches the option text exactly. The equals and contains operators compare against the exact answer the respondent gives.
What operators can I use in a rule?
You can use equals, not equals, contains, is not empty, and is empty. The is empty and is not empty operators check only whether the watched field has been answered.

Build a better form with Formiqa.

Free forever. No credit card. No per-response fees.