A client onboarding form runs to 46 questions because it has to cover four service types, two client categories and three countries. Most people need to answer about 12 of them. Everyone sees all 46, most abandon it, and the ones who finish leave two-thirds of the fields blank.
Conditional logic — showing and hiding questions based on earlier answers — fixes this. The form still covers all 46 possibilities; each person only sees their own path through them.
The concept is simple. Designing logic that stays maintainable is where it gets interesting, and this guide covers how to plan it, what each platform can do, and the failure modes that make branched forms harder to fix than the long forms they replaced.
What Conditional Logic Does
Conditional logic is a rule attached to a form that changes what the user sees based on what they have already entered. In practice it takes a few forms:
- Show or hide a question — "Do you have a company registration number?" reveals the number field only if yes.
- Skip to a section — a "not eligible" answer jumps straight to a closing message.
- Change a later question's options based on an earlier selection.
- Make something required only in context — a reason field that becomes mandatory only if a particular option is chosen.
- Route the submission to a different recipient or workflow depending on the answers.
The benefit is not only shorter forms. It is more accurate data, because people are never presented with questions that do not apply — and questions that do not apply are the ones that get answered with "N/A", "-" or something invented.
Plan It Before You Build It
The mistake almost everyone makes is building the logic directly in the form builder, one rule at a time, until it works for the cases they happen to test. Six months later nobody can safely change anything.
Plan first, on paper or in a spreadsheet:
- List the distinct types of respondent. New client, existing client, supplier, job applicant — whatever the real categories are.
- List what you need from each. Usually a shared core plus a small number of type-specific questions.
- Find the branching question. The one early question that determines the path. It should be near the top and easy to answer.
- Map each path as a simple sequence.
- Mark what every path shares, so common questions are asked once rather than duplicated per branch.
- Note any question that depends on two or more earlier answers, since those are where logic becomes hard to maintain.
Keeping that map alongside the form is what makes it changeable later. A form with 30 undocumented rules is one nobody will touch.
Branch early, then keep it shallow
The best-structured branching forms share a shape: one branching question near the start, then mostly linear paths.
Branching late means the user has already answered questions they did not need. Branching repeatedly — a branch inside a branch inside a branch — produces a form where the number of possible paths grows faster than anyone can test.
Two practical guidelines:
- Put the branching question first, or as close to it as the form allows. It is usually "what are you here to do?" or "which service do you need?"
- Prefer several short paths to one deeply nested tree. Three branches of eight questions each is far more maintainable than a form nested four levels deep.
What Each Platform Can Do
| Platform | Logic style | Practical limits |
|---|---|---|
| Google Forms | Section-based: an answer sends the user to a different section | Works on whole sections, not individual questions; only on multiple-choice and dropdown questions |
| Jotform | Field-level show/hide, required rules, calculations, page skipping, routing | Rule count can grow large; needs discipline to stay readable |
| Microsoft Forms | Branching by question, similar in spirit to Google Forms | Section and question branching; simpler rule model |
| Fillable PDF | Show/hide fields via field properties and scripting | Behaviour varies by PDF reader; logic may not run in browser previews or mobile apps |
The distinction that matters most: section-level branching versus field-level logic. Google Forms and Microsoft Forms route between sections, which means designing your form as blocks. Jotform can show and hide individual fields on the same page, which allows finer control but makes it easier to create a tangle.
The PDF row deserves a specific warning. Conditional behaviour in a fillable PDF depends on the reader, and many people open PDFs in a browser's built-in viewer or a mobile app where scripted logic may not run. A PDF form that silently shows every field to some users, or none, is worse than a plain form. If logic is central to how the form works, an online form is usually the better choice — the trade-offs are set out in Google Forms versus fillable PDF.
Writing the branching question
Everything downstream depends on people choosing correctly here, and they will choose badly if the options are written in your language rather than theirs.
- Use the respondent's words, not internal service names. "I need help with an existing order" beats "Post-sales support tier 2".
- Make options mutually exclusive. If someone could reasonably pick two, they will pick the wrong one.
- Cover everything, including an "something else" route that goes somewhere sensible rather than dead-ending.
- Keep it to a handful of options. A branching question with twelve choices is a menu, and people give up on menus.
- Avoid asking it twice in different words, which happens when two people built different sections.
What Branching Does to Your Response Data
A consequence that only appears once responses start arriving: branched forms produce sparse data. Every respondent leaves the questions on other paths blank, so a spreadsheet of 400 responses to a four-branch form is mostly empty cells.
That is normal and not a problem in itself, but it changes how you should set things up:
- Ask shared questions once, in a common section, so the answer always lands in the same column. Duplicating "email address" across four branches produces four columns that each contain a quarter of your contacts.
- Record which path was taken — the branching answer itself usually does this, and it becomes the column you filter and group by.
- Expect blanks rather than treating them as missing data. A blank on a path the person never saw means nothing was skipped.
- Consider separate views per branch rather than trying to read all paths in one table.
The mechanics of structuring response spreadsheets so they survive this are covered in connecting Google Forms to Google Sheets.
Testing: The Part That Gets Skipped
A branched form has multiple paths, and a rule that works on one path can break another. Testing one route and assuming the rest work is how forms reach production broken.
A workable test routine:
- Walk every path end to end, not just the common one.
- Test the edge options — "other", "none of these", "not sure" — which are the paths most often left half-built.
- Check required fields on hidden questions. A hidden question still marked required can block submission with no visible explanation, which is the single most frustrating fault a form can have.
- Check the response data for each path. Confirm answers land in the columns you expect and that skipped questions produce blanks rather than misalignment.
- Test on a phone, where section jumps and show/hide behave differently and long forms are harder to navigate.
- For PDF forms, test in several readers — desktop Acrobat, a browser viewer and a mobile app — because this is where logic quietly fails.
- Have someone else try it who did not build it. They will pick the branching option you did not anticipate.
Common Mistakes
- Hidden fields left as required, blocking submission invisibly.
- Branching too late, after irrelevant questions have already been asked.
- Nesting too deep, creating more paths than anyone can test.
- Duplicating shared questions across branches, so the same answer lands in different columns depending on path — which makes the response data much harder to analyse.
- An "other" option that leads nowhere useful.
- Logic built without a map, leaving a form nobody dares change.
- Testing only the happy path.
- Relying on scripted logic in a PDF without testing across readers.
- Using logic to shorten a form that should have been split into separate forms for separate audiences.
- Not showing progress, so users on a long branch cannot tell how much is left.
What Logic Does Not Fix
Worth being clear about the limits:
- It does not make a bad form good. Confusing questions stay confusing when conditionally displayed.
- It does not reduce what you ultimately collect from any individual — it just stops them seeing the rest. If the goal is collecting less personal data overall, that is a different exercise, covered in building forms that handle personal data properly.
- It adds maintenance cost. Every rule is something to test when the form changes. Logic should earn its place.
- It can hide data quality problems. If a branch is rarely taken, errors in it may go unnoticed for months.
Conclusion
Conditional logic turns a form that serves four audiences badly into one that serves each of them well. The value comes from planning rather than from the feature itself: map the paths, branch once and early, keep the tree shallow, and test every route rather than the one you had in mind.
And if the map will not fit on one page, that is the form telling you it should be two forms.
Getting Branching Forms Built
SBTEXMEDIA builds conditional and multi-path forms for businesses, agencies, consultants, HR teams, clinics, schools and non-profits — branching mapped before it is built and documented so it stays changeable, logic implemented in Google Forms, Jotform, Microsoft Forms or fillable PDF depending on what the form has to do, hidden-field and required-field behaviour checked, every path tested including the edge options, and response data structured so branched answers remain analysable.
Related work on Jotform, client intake workflows and form design best practices is handled by the same team.
You can see examples on the portfolio, browse the full range of services, or describe the different people who need to use your form for a fixed quote and a delivery date before work begins. More guides are on the SBTEXMEDIA blog.