Conditional Logic
Forms that adapt to every answer — show only what matters
Stop showing every field to every respondent. With conditional logic, your forms show or hide fields based on answers — creating a tailored experience that collects exactly what you need.
How conditional logic works
Simple if-then rules that make your forms smarter — no code, no formulas.
1
Build your form
Add all the fields you might need — including fields that should only appear for certain respondents. Build it all in one place.
2
Set your logic rules
For each field, define when it should show or hide: "If the answer to 'Do you have dietary requirements?' is Yes, show 'Please describe your requirements'."
3
Respondents see a clean form
Hidden fields are invisible — not greyed out, not disabled. Respondents only see what's relevant to them. The form feels short even when it isn't.
Example logic rules
Event Registration Form — Conditional Rules
IF
Attending in person?
→
is
Yes
→
SHOW
Meal preference
IF
Attending in person?
→
is
Yes
→
SHOW
T-shirt size
IF
Dietary requirements?
→
is
Yes
→
SHOW
Describe requirements
IF
Role
→
is
Speaker
→
SHOW
Presentation topic
Rules are set in the form builder — no code required. Fields hidden by logic are never submitted, keeping your data clean.
Where conditional logic makes the biggest difference
Any form where different respondents need different questions — conditional logic keeps it clean.
Patient Intake Forms
Show medication fields only to patients who answer yes to "Are you currently taking medication?" Skip irrelevant sections for healthy patients.
Event Registrations
Show meal preference and accommodation fields only to in-person attendees. Show online access details only to virtual attendees.
Surveys with Branching
Route respondents down relevant paths based on their answers. A customer satisfaction survey can branch into different follow-up questions by product type.
Volunteer Applications
Show availability grids only to applicants who select certain roles. Show first aid certification fields only to applicants applying for medical volunteer positions.
Property & Rental Applications
Show pet details only if the applicant has pets. Show employer details only for employed applicants. Keep the form focused for each respondent.
Grant & Award Applications
Show different sets of supporting questions depending on which category the applicant selects. One form, many paths.
Why conditional logic improves your forms
Higher completion rates
Shorter-feeling forms get completed more often. When respondents only see relevant questions, abandonment drops significantly.
Cleaner data
Hidden fields are never submitted. You get structured data without empty optional fields cluttering your submissions.
One form instead of many
Build a single form for multiple respondent types rather than maintaining separate forms. Logic handles the branching for you.
No code required
Set rules visually in the form builder. Select a field, choose a condition, pick the action — done. No JavaScript, no formulas, no technical knowledge.
Make your forms smarter — try Pro free
Conditional logic is a Pro feature. Start a free trial to build your first branching form — no credit card needed.
Get started freeFrequently asked questions
Is conditional logic available on the free plan?
Conditional logic is a Pro feature. You can try it during the free trial period — no credit card required. Free plan users can build standard forms without branching logic.
What conditions can I set?
You can set conditions based on a field's value — for example "is equal to", "is not equal to", "contains", or "is not empty". Conditions can be combined with AND/OR logic for more complex rules.
Can I hide entire sections, not just individual fields?
Yes. Section headers and groups of fields can be shown or hidden together. Set a rule on the section, and all fields inside that section follow the same logic.
What happens to hidden fields in the submission data?
Fields hidden by conditional logic are not submitted. Your submission record only includes the fields the respondent actually saw and answered — keeping your data clean and consistent.
Can I use conditional logic with the AI form builder?
You can use the AI form builder to generate the initial form structure, then add conditional logic rules manually in the form editor. The AI generates field structure; logic rules are configured in the builder.
Does conditional logic work on mobile?
Yes. Conditional logic works across all devices. Fields show and hide in real time as respondents complete the form — on desktop, tablet, and mobile.
Get started free
formwhale is live. Start building your first form today. No credit card needed.
You're on the list. We'll be in touch.