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:

  1. List the distinct types of respondent. New client, existing client, supplier, job applicant — whatever the real categories are.
  2. List what you need from each. Usually a shared core plus a small number of type-specific questions.
  3. Find the branching question. The one early question that determines the path. It should be near the top and easy to answer.
  4. Map each path as a simple sequence.
  5. Mark what every path shares, so common questions are asked once rather than duplicated per branch.
  6. 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.

A useful limit
If a question's visibility depends on more than two earlier answers, the form is probably doing too much. Consider splitting it into separate forms for separate audiences. Two clean forms are easier to maintain, easier to test and easier to change than one form with a decision tree nobody can hold in their head.

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

PlatformLogic stylePractical limits
Google FormsSection-based: an answer sends the user to a different sectionWorks on whole sections, not individual questions; only on multiple-choice and dropdown questions
JotformField-level show/hide, required rules, calculations, page skipping, routingRule count can grow large; needs discipline to stay readable
Microsoft FormsBranching by question, similar in spirit to Google FormsSection and question branching; simpler rule model
Fillable PDFShow/hide fields via field properties and scriptingBehaviour 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:

  1. Walk every path end to end, not just the common one.
  2. Test the edge options — "other", "none of these", "not sure" — which are the paths most often left half-built.
  3. 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.
  4. Check the response data for each path. Confirm answers land in the columns you expect and that skipped questions produce blanks rather than misalignment.
  5. Test on a phone, where section jumps and show/hide behave differently and long forms are harder to navigate.
  6. For PDF forms, test in several readers — desktop Acrobat, a browser viewer and a mobile app — because this is where logic quietly fails.
  7. 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.

Frequently Asked Questions

A rule that changes what someone sees based on what they have already entered — showing or hiding a question, skipping to a different section, changing a later question's options, making a field required only in context, or routing the submission differently. The form still covers every case; each person only sees their own path.
Shorter forms complete better, but the bigger benefit is data quality. People are never shown questions that do not apply to them, and questions that do not apply are the ones answered with 'N/A', a dash, or something invented.
List the distinct types of respondent, list what you need from each, find the single early question that determines the path, map each path as a sequence, and mark what every path shares so common questions are asked once. Keep that map alongside the form — a form with thirty undocumented rules is one nobody will touch.
As close to the start as the form allows, usually phrased as 'what are you here to do?' Branching late means people have already answered questions they did not need. Prefer several short paths to one deeply nested tree — three branches of eight questions is far more maintainable than a form nested four levels deep.
It supports section-based branching: an answer to a multiple-choice or dropdown question sends the user to a different section. That works on whole sections rather than individual questions, so you design the form as blocks. Jotform offers field-level show and hide on the same page, which gives finer control but is easier to tangle.
It can, through field properties and scripting, but behaviour varies by PDF reader. Many people open PDFs in a browser's built-in viewer or a mobile app where scripted logic may not run, producing a form that shows every field to some users and none to others. If logic is central to how the form works, an online form is usually the safer choice.
The most common cause is a hidden question still marked as required. The form blocks submission with no visible explanation, because the field causing the problem is not on screen. Check required settings on every conditionally hidden field.
Walk every path end to end rather than just the common one, test the edge options such as 'other' and 'none of these', check required settings on hidden fields, verify the response data for each path, test on a phone, and for PDF forms test in several readers. Then have someone who did not build it try it — they will pick the option you did not anticipate.
BK

Bayazid Kajol

Founder of SBTEXMEDIA

Bayazid Kajol is a document specialist and the founder of SBTEXMEDIA, working with businesses, HR departments, schools, hospitals, consultants, legal firms, NGOs and government organisations on professional PDF editing, fillable PDF forms, interactive PDF form design and Microsoft Office document formatting. Every guide on this blog comes out of real client projects rather than theory. Get in touch if you have a document that needs fixing properly.