Glossary
What is Conditional logic?
How it works
A rule has two parts: a condition and an action. The condition checks something (“the rating is 2 or lower”, “the country is Canada”, “the plan in the link is pro”); the action says what happens (“show the ‘What went wrong?’ question”, “jump to the shipping section”, “add 10 to the score”).
Conditions can be combined with “and” or “or”. Some tools also branch on hidden data passed in the link, or on the respondent’s device, not just on visible answers.
Example
A job application asks “Do you need visa sponsorship?” People who answer Yes see two extra questions about their visa; everyone else skips straight to their work experience. Nobody answers questions that don’t apply to them.
Tips
- Sketch the paths before you build, especially when a form has several endings.
- Test every path in preview, including the unusual ones.
- Use logic to remove questions, not just to add them; shorter paths get finished more often.
- Name your variables clearly (score, total, budget) so rules stay readable later.
Conditional logic in FormsAI
FormsAI’s conditional logic is on every plan. Rules jump, show or hide screens, or finish the form early, based on answers, hidden fields or device, with up to 30 conditions per rule. Rules can also set, add to and subtract from variables, which power quiz scores, calculated prices and personalised endings. The preview, the live form and the server all run the same logic.
FAQ
Conditional logic, answered
What is the difference between skip logic and branching logic?
They’re often used to mean the same thing. Strictly, skip logic jumps past questions, while branching sends people down different paths; most form builders do both with the same rules.
Does conditional logic make forms longer to build?
A little, but it makes them shorter to answer. Each person only sees the questions that apply to them, which usually means more people finish.