Conditional logic
The conditional logic form builder
Skip what doesn't apply, branch on any answer, name earlier answers back, and finish each person on the ending that fits. All on the free plan, drawn as a map you can read at a glance.
Free forever, with unlimited responses. No credit card.
The fastest way to make a form shorter is to stop asking people questions that don't apply to them. Conditional logic does that. Each answer decides what comes next, so a detractor is asked what to fix and a promoter is asked what to keep, and neither sees the other's question.
Try it: a form that branches
The quote form beside this page asks what you'd like cleaned. Pick Office cleaning and it skips the bedroom and bathroom questions and asks how big the office is instead. Pick Regular home cleaning and it asks how often you'd like a visit, a question a one-off clean never sees. Three paths through one form, and each person only sees theirs.
Skip logic
A rule on a question says where to go once it's answered. Add one, choose whether all or any of its conditions must match, and set the conditions: an answer is, isn't, contains, is above or below a value, or was left blank. When no rule matches, the form simply carries on to the next question, so you only write rules for the exceptions. See logic.
Branching on anything
Conditions can check the question just answered, any earlier one, or a hidden field from the form's link. Every question type can drive a rule: a choice, a rating, a number, a date, a yes or no, or text that contains a word. So an ad for one product can send people down that product's path before they've answered anything.
Answer recall
Earlier answers can appear in later questions, descriptions and endings: "Thanks, Jane. What brought you to us?" A recalled answer only ever comes from the path the respondent took, so nobody sees an answer from a branch they skipped. See answer recall.
Multiple endings
A form can finish on up to 10 endings, and a rule can jump straight to any of them. Each ending has its own words, and can redirect to a page of your own, such as a booking page for qualified leads and a thank-you page for everyone else.
Routing by score
Rules can also check a number the form works out as people answer: a quiz score, a lead score or an order total. "Score is at least 8" can have an ending of its own. See scores and calculations, or the quiz maker for a scored quiz you can try.
See every path at once
The Logic tab draws every question as a box and every jump as an arrow, so you can check each path before you publish. Rules only ever jump forward, which guarantees that every path reaches an end. If a rule breaks while you edit, say because you deleted the question it jumps to, the builder flags it and won't publish until it's fixed. The live form keeps working meanwhile.
What's free, and what's Premium
| Free | Premium, $19/month | |
|---|---|---|
| Logic rules on any question type, and on hidden fields | ✓ | ✓ |
| Several endings, each with an optional redirect | ✓ | ✓ |
| Endings chosen by a score | ✓ | ✓ |
| The logic map | ✓ | ✓ |
| Answer recall | ✓ | ✓ |
Premium is one price for the whole organization. See plans.
Templates that use it
- Sales & marketing Product recommendation quiz template A few questions that end on a product to buy, under one wordmark and one full-screen picture.
- Feedback & research NPS survey template The one-number loyalty survey, with a follow-up that changes depending on the score.
- Feedback & research CSAT survey template Rate the experience, then say why — unhappy answers get a follow-up before the form moves on.
- Events Wedding RSVP form template Who's coming, what they'll eat and what they want to dance to — with a kind path for regrets.
- Sales & marketing Lead qualification form template Sort serious buyers from browsers: size, need and timing, with browsers sent straight to the newsletter.
- Feedback & research Customer effort score (CES) survey template How easy was it to get help? One 1–7 question, then what made it easy or what got in the way.
- Feedback & research Bug report form template What broke, how to see it, and how bad it is — with screenshots attached and blockers routed to their own ending.
- Feedback & research Cancellation survey template Why people leave, asked kindly: one main reason, then the follow-up that fits it — price, a gap or a competitor.
- Feedback & research Website feedback survey template Did visitors find what they came for? A short survey with the page they were on recorded.
In the docs
Questions people ask
Is conditional logic free?
Yes. Logic rules, answer recall, several endings, redirects, scores and the logic map are all on the free plan.
What's the difference between skip logic and branching?
They're the same rules. Skip logic is a rule that jumps past questions that don't apply. Branching is several rules that send different people down different paths. hootform does both with one kind of rule.
Can logic send people to different pages at the end?
Yes. Give an ending a redirect link, and people who reach it are sent there. Answers can be passed along in the link.
Can a form go back to an earlier question?
Rules jump forward only, which is what guarantees every path ends. Respondents can still go back themselves with the up arrow, and their path updates if they change an answer.
How do I test my logic?
Open the Logic tab to see every path as a map. Then open the published form and walk each branch yourself, and delete those test responses afterwards.
More features
- Conversational forms Build conversational forms that ask one question at a time, with keyboard shortcuts, logic and answer recall. Free, with unlimited forms and responses.
- Quiz maker Make a scored quiz online: points per answer, a result screen that shows the score, and a different ending for each score band. Free, with unlimited responses.
- Multi-step forms Build multi-step forms that save every answer as it's given, so people can stop and resume, and you can see exactly where they stopped. Free.
- File upload forms Let people attach CVs, photos, screenshots and documents to any form. Files are stored with each response and encrypted at rest. Free up to 10 MB a file.
- E-signature forms Collect signatures on any form, drawn with a finger or a mouse, with consent checkboxes that record the exact wording agreed to. Free, and encrypted at rest.
- Encrypted forms hootform encrypts identifying answers and files at rest with a key per form, on by default and free. Delete a form and its responses can never be read again.