Conditional Logic Guide - FormFlow

Enterprise-grade forms, zero code required

Logic Rules

Understanding Logic Operators

FormFlow’s rule engine evaluates conditions in real-time as users interact with your survey, application, or intake workflow. Master these core operators to build dynamic, responsive forms that adapt instantly.

Equals / Does Not Equal

Matches exact values from dropdowns, radio groups, or single-line text. Example: Department equals "Engineering" triggers the technical onboarding path and hides marketing-specific questions.

Contains / Starts With

Ideal for open-text fields and domain validation. Example: Email Address contains "@acme-corp.com" auto-fills the internal employee discount field and skips the external vendor verification step.

Greater Than / Less Than

Works with number inputs, date pickers, and calculated totals. Example: Annual Revenue is greater than 500000 unlocks the enterprise pricing tier and requires a finance director signature.

AND / OR / NOT

Combine multiple conditions into compound rules. Example: Role equals "Manager" AND Location equals "Remote" shows the equipment stipend question, while NOT (Status equals "Archived") hides legacy fields.

Examples

Complex Branching Scenarios

See how industry teams structure multi-conditional paths without writing a single line of JavaScript. These templates are ready to duplicate into your workspace.

Multi-Step Vendor Onboarding

A procurement form that branches based on three sequential inputs. If Vendor Type equals "International" AND Contract Value is greater than 75000, the form requires a W-8BEN upload, triggers a compliance review step, and assigns the draft to the Legal Ops queue. Otherwise, it routes to Accounts Payable for standard processing.

Clinical Trial Eligibility Screener

A healthcare intake that evaluates patient responses against strict medical criteria. The logic tree checks Age is greater than or equal to 18, BMI is less than 30, and Current Medications contains "metformin". If all conditions evaluate to true, the system displays the participation consent module and schedules a baseline assessment with Dr. Elena Rostova’s clinic.

Best Practices

Optimizing Form Performance

Keep your rule engine lean and predictable. Follow these architectural guidelines to prevent evaluation bottlenecks and ensure a smooth respondent experience.

Limit Nested Conditions

Avoid chaining more than three AND/OR statements in a single rule. FormFlow’s evaluator processes linear conditions faster, and flat structures reduce debugging time when auditing submission logs.

Prefer Explicit Triggers

Use dedicated toggle switches or radio buttons to activate logic branches rather than parsing free-text answers. Structured inputs eliminate false positives caused by typos or varied phrasing.

Test Edge Cases Early

Run the preview mode with boundary values including zero, negative numbers, empty states, and maximum character limits. Document your expected outputs in the form’s internal notes before publishing to production.

Build Your First Rule Download Logic Cheat Sheet