Skip to main content

Create branching, show/hide, and skip logic in surveys

How to use show/hide logic and skip logic so each tester only sees the survey questions that apply to them.

Survey logic lets you build one survey that adapts to each tester, instead of asking everybody the same fixed list of questions. Testers only answer what is relevant to them, which keeps surveys short, keeps completion rates high, and keeps your results clean.

There are two kinds of logic in the survey builder:

  • Show/hide logic is set on the question you want to reveal, and it makes that question appear only for testers who gave a particular answer earlier. Use show/hide logic for follow up questions, such as asking someone who rated a feature poorly to explain why.

  • Skip logic is set on the question that triggers it, and it sends testers forward past questions that do not apply to them. Use skip logic when a single answer should make a whole run of later questions irrelevant, such as skipping an entire section for testers who never used the feature it asks about.

Both are set up from the gear icon on a question in the survey builder, alongside the other question settings covered in Creating high quality surveys.

How to add show/hide logic

Show/hide logic can be triggered by multiple choice and scale questions. The trigger question has to appear above the question you are configuring.

You configure the show/hide logic on the item that you want to show or hide based on a previous question:

  • Open your test and go to the survey builder for the survey you want to edit.

  • Hover over the question you want to reveal conditionally, and click the gear icon at its top right.

  • Check Define show/hide logic.

  • In the Only show this item if... window, use the dropdown to choose the earlier multiple choice or scale question that should trigger it. Only questions above the current one are listed.

  • Under Select answers that will cause this item to show:, check every answer that should reveal the question.

  • To trigger on answers from more than one question, click + OR Condition and pick another question. The item shows if any of the selected answers were given.

  • Click Save.

The question now displays a Show/hide logic set label in the builder. Click that label at any time to review or change the rules.

Your question will now only appear for testers who answer the previous multiple choice question with the answers you selected.

NOTE: If you move questions around after creating show/hide logic, the logic may break and have to be re-created based on where you moved the questions. For example, if you move a question with logic defined on it above the multiple choice question it is connected to, the logic will no longer work.


How to add skip logic

Skip logic is available on multiple choice questions, and only when at least one question comes after them.

  1. In the survey builder, hover over the multiple choice question that should trigger the skip and click the gear icon.

  2. Check Define skip logic.

  3. In the Skip logic window, under If any of the following answers are selected:, check the answers that should trigger the skip.

  4. Open the Skip to: dropdown and choose the question testers should land on, or choose End of survey to finish the survey immediately.

  5. To send different answers to different places, click + Skip Condition and set up another condition. Each answer option can be used in only one condition.

  6. Click Save.

The question now displays a Skip logic set label in the builder, which you can click to review or change the rules.

Answers with no skip condition simply continue to the next question as normal.

How to build full branching

To branch an entire survey, ask a segmenting multiple choice question at the top, such as "Are you an Android or an iPhone user?", then build the rest of the survey around it.

You can do this in either direction. With show/hide logic, add the logic to every question in each branch so it only shows for the matching answer. With skip logic, group each branch into a block of consecutive questions and send each answer to the first question of its own block.

Skip logic is usually less work for long branches, because you set one rule on the segmenting question instead of a rule on every question that follows.

Distributing different surveys to different people

There are several ways you can distribute different surveys to different testers:

  1. You can use Tags to build unique test workflows for different testers.

  2. You can use Activity Groups (available on Teams or Enterprise plans) to randomize distributions so testers get certain surveys (e.g. A/B testing, or concept testing)

  3. You can build different tests entirely for each segment


How to test your logic

  1. Click Preview at the bottom of the survey builder.

  2. Answer the survey as a tester would, choosing an answer that should trigger your logic.

  3. Confirm that the right questions appear, and that the questions you expected to be skipped are not shown.

  4. Go back and repeat with the other answers, so you check every branch.

Things to know

  • Show/hide logic works from multiple choice and scale questions. Skip logic works from multiple choice questions only. See What type of survey questions can I add? for the full list of question types.

  • Skips always move forward. You can target any later question or the end of the survey, never an earlier question.

  • If a tester selects several answers with different skip conditions, the earliest target question wins.

  • Skip conditions are checked from top to bottom, and each answer option can appear in only one condition.

  • Testers cannot tell that a skip happened. The questions in between are simply never shown.

  • If a tester goes back and changes an answer so that questions they already answered are now skipped, those answers are removed when the survey is submitted.

  • Skipped questions are not counted against testers in response metrics or answer ratings.

  • Moving questions after setting up logic can break it. A question with show/hide logic that ends up above its trigger will no longer work, and reordering can remove skip conditions that would point backwards. Review your logic after any large reorder.

  • Deleting a question or an answer option that logic depends on removes that rule, and the builder warns you first.

  • Logic rules are copied along when you copy a test or a survey.

Did this answer your question?