What it does
A rule watches one answer and changes what happens next. Someone who says they are an existing client skips the questions about how they found you. Someone who picks Other is asked what they meant. One form can serve several kinds of people without any of them wading through the rest.
Nearly all form logic comes down to a handful of actions. Pick the simplest one that does the job.
- Show a follow-up only when it applies
- Hide a question that stops applying
- Skip ahead to a page, or jump back to an earlier one
- Finish the form there and then
Sketch who fills the form in and what each kind of person needs to be asked. Put the sorting question early, because a rule can only read answers given before the question it changes. Give each branch its own page, and order rules from most specific to least, since the first rule that matches wins.
Open the Logic tab and select Add rule. Every rule reads the same way: When a question Is a particular answer, Then show, hide or skip to a Target. Group conditions with and/or, and compare numbers, dates and text as well as choices. Or describe the rule in your own words at the top of the tab and the AI writes it against your questions.
How it flows draws your pages in order with every skip, jump back and ending. Underneath, Formkit lists anything that looks wrong. Switch to Try it, pick answers, and see the pages a person would see, what is hidden and which ending they reach.
Most broken forms have one of these.
- A rule that reads an answer given after the question it changes
- A branch page with no skip of its own, so people fall into the next branch
- Logic nested more than two levels deep. Use a page break and a skip instead
- Never walking each path before publishing
- Deleting a question a rule points at, which removes that rule
How to start
- 1Open the Logic tab and select Add rule
- 2Pick the question to watch in When, and the answer in Is
- 3Choose Then: show, hide or skip to, and the target
- 4Drag rules into order, since the first match wins
- 5Check How it flows, then walk each path in Try it
Templates to start from
Every templateGoes well with
In the help centre
- 1 min readHow logic rules workA rule watches one answer and changes what happens next.
- 1 min readSkip to a pageSending people down a branch and past what does not apply.
- 1 min readShow or hide a questionConditional questions that appear only when they are relevant.
- 1 min readGroups, comparisons and endings“(This and that) or something else”, several endings, hidden options and limited places.
- 1 min readJump ahead, back, or to the endSend people to any page or question, back to an earlier one, or straight to an ending.
- 1 min readThe logic map and testerSee every rule at once, catch mistakes, and try your answers.
Questions
Is conditional logic free on Formkit?
Yes. Show, hide, skip and jump rules, groups of conditions, the logic map and the tester are on every plan. Several endings, hidden options, limited places, calculations and AI logic are on Pro.
Can a rule send people back?
Yes. A jump back sends people round again to change an answer. If it stays the same, they go round at most five times and then the form moves on.
Can I combine conditions?
Yes. A rule can hold groups of conditions, each joined with AND or OR, like “(budget over £20k and a company email) or they asked for a call”.
Do hidden questions still have to be answered?
No. A hidden question never counts towards required checks, and in responses it shows as blank.
Try it on your next form.
Free to start, with unlimited forms, responses and members. See what each plan includes on the pricing page.