Logic Jump is our tool for making typeforms more intelligent. It allows you to add question branching and question jumping—so your typeform responds to how people answer. It can make designing your typeform more complicated, but once you’ve got the hang of it, you’ll be making things that are much smarter and reactive.
- Why does Logic Jump hide questions?
- Be careful how you order Logic Jumps
- How to use Logic Jumps when Other is selected
- How to use “In ALL other cases Jump to.”
- How to ask for either one thing or another (but not neither!)
- Setting Logic Jumps for responses to multiple questions.
Logic Jump means some questions will be hidden from some respondents.
When you apply Logic Jump to your typeforms, respondents will no longer be able to scroll down and see all your questions. But they haven’t disappeared, don’t worry! Logic Jump makes your typeform dynamic, meaning later questions will not appear until the earlier trigger question has been answered.
Let’s look at an example:
When you open this typeform, you can see the first two questions, and the fourth. But the third question, ‘Please rate (answer)’ is hidden. We’ve added Logic Jump to question 2, which means ‘Please rate’ will only appear if question 2 is answered ‘Blueberries’ or ‘Apple’. If you answer ‘Mango’, you go directly to the end of the survey:
Be careful how you order your Logic Jumps!
It’s important to understand how Logic Jump works. If you set multiple conditions on a Logic Jump, they are activated in order. So, if the first condition is met, the following Logic Jumps will be ignored.
Let’s say you have a multiple choice question where respondents can pick more than one answer. If the answer is Mango, I want them to be sent to question 3, and if it’s Mango and Apple, to question 4.
To make this work, we must put the condition If “What is your favorite fruit is Apple AND Mango Jump to question 4.” first. Then add If “what is your favorite fruit is Mango Jump to question 3”:
If we reversed this order, when someone chose Mango and Apple, they’d be sent to question 3 instead of question 4, as that choice activates the Mango logic jump first, so ignores the second one.
Therefore, if you want to set Logic Jumps for multiple and single selections, make sure to set the multiple selections first.
See this in action:
How to set Logic Jump when “Other” is chosen.
If you have an ‘Other’ option on a multiple choice question, respondents can type whatever they want as an answer. This makes setting Logic Jump tricky – how can you tell your form how to react to an answer you can’t predict?
Here’s how to set Logic Jump when that happens.
To set a Logic Jump that responds when someone chooses “Other” from a Multiple choice question, we set logic for every answer except Other. It looks like this:
Logic is set up so it activates when someone doesn’t choose any of the predefined options… meaning they must have chosen Other. Simple, right?
Here’s an example typeform for you to try out. Choose Other, and type an answer. You’ll be taken to a Statement that you only see when choosing Other:
How to use “In ALL other cases jump to”
All questions can have an “In All other cases jump to” field. This tells your typeform what to do if none of your Logic Jumps are activated by a respondent’s answer. You can use this to send people to a specific next question if they don’t give an answer.
You can use this to hide following questions. This article explains how to hide following questions.
Make a Typeform to obtain either email or phone number data.
Let’s say you want to build a form where you’d like to collect an email or a phone number, or both, but not neither. Here’s how to set that up:
- These are the questions in Build, with the logic map displayed:
- Here is the logic set on Q2 “phone number?”:
Here we are using If… OR … then jump to…
Adding In ALL other cases Jump to allows us to send respondents to a Statement telling them to answer either question 1 or 2. As you can see from the Logic map above, this statement returns people to question one so they can try again!
See this typeform in action:
Setting logic that requires specific answers to more than one question.
You can use Logic Jump to trigger paths when combinations of different questions are answered.
In this example, we have two questions about animals. If you get both questions wrong, you see one message. If you get the first wrong and the second right, you see another message. And if you just get the second right, you see a third message. Getting both answers correct completes the quiz.
Here is the basic build:
We added Logic Jump to question 2. This sends respondents to different Statements depending on their combined answers:
Try out the typeform to see for yourself:
This is a very simple example, but you can use this idea to branch typeforms by making combinations of previous answers.
Use Logic Jump to give people a ‘none of the above’ option with Multiple Choice
Here’s how to allow people to either make multiple selections on a Multiple Choice question, or choose ‘None of the above’. We’ll use Logic Jump with Calculator to make this possible.
1. Suppose you have A, B, C, D, and ‘None of the above’ as answer choices. First create your Multiple Choice question:
2. Then click the Calculator icon, and add the following calculations:
3. Next, we need a statement for anyone who tries to choose ‘None of the above’ and other choices:
4. Now we can add Logic Jump to the Multiple Choice question as follows:
5. You should set ‘In ALL other cases jump to’ to your following question, whatever that is. We have a statement saying ‘nice choices!’
6. Add Logic Jump to the Statement as follows. This will send people back to the Multiple Choice to try again!
Try it out:
Here are a couple of extra points worth remembering!
- You can only use Logic Jumps to send respondents backwards to questions they have already answered. If you want to send them to new questions, these must be ahead of the current question in Build.
- Logic Jump automatically renumbers questions, so they appear natural to respondents. This means the numbers you see in Build and on the actual typeform may be different, but don’t worry!
- In terms of saving results, only selected answers are recorded when respondents click Submit. So if you use Logic Jump to ask respondents to repeat questions, the earlier answers won’t be recorded. You can get around this by duplicating questions, so when you ask respondents to repeat a question, you actually send them to a new version of the original question. Read our Use repeated fields article.
- Do you need to remove Logic Jumps from your typeform? Check out this article: How to remove PRO features from your typeform.