Before you start using Logic Jumps (Essentials and higher), here are a couple of suggestions:
- Plan the logic path of your typeform first.
Read this article:
Adding Logic Jumps to your questions
Let’s add some logic jumps to a typeform:
This simple typeform asks if people prefer cats or dogs, then asks them related questions. I want people who like dogs to see the dog-questions, and the cat people to answer cat-questions.
I have set my first question about cats and dogs, then followed up with two Question Groups – one for each animal.
2. To add a Logic Jump, click on the relevant question, then click either of the Logic Jump icons, highlighted below:
3. This opens the Logic Jump interface. Click Add a Logic Jump, and you’ll see the available options:
This simple Logic Jump says if you answer ‘Cat’ to question 1, you will jump to ‘Cat questions’:
4. Click the Logic icon on any question you want to add Logic Jumps. There is no save button. When you’ve set your Logic Jumps, simply click the X icon in the top right corner. You can remove Logic Jumps with the X icon on the top right of each individual Logic Jump.
5. You can test your Logic Jumps in the Live Preview:
Click Test Logic to turn this on. This button will turn green when active.
How Logic Jump works with different Question types.
Different questions allow different kinds of Logic Jumps! Here’s how they work:
1. Add Logic Jumps to close-ended questions
- is not
2. Add Logic Jumps to open-ended questions
With open-ended question questions (Short Text, Long Text, Email, Dropdown, Website and Hidden Fields) you have the following Logic options:
- is equal to
- is not equal to
- begins with
- ends with
- does not contain
Here you can set up Logic Jumps based on whether a certain word or character is typed into the open-text question field:
- is equal to: the Logic Jump will work only if the input of the field is exactly the same as defined in the condition
- is not equal to: the Logic Jump will work only if the input of the field is not the same as defined in the condition
- begins with: the Logic Jump will work only if the input of the field begins exactly the same as defined in the condition
- ends with: the Logic Jump will work only if the input of the field ends exactly the same as defined in the condition
- contains: the Logic Jump will work only if the input of the field contains what is defined in the condition
- does not contain: the Logic Jump will work only if the input of the field does not contain what is defined in the condition
Note! You cannot use Logic Jumps with the is equal to condition and a blank field, but you can add Logic Jumps to a negative condition and a blank field. For example, you can use the is not equal to condition with a blank field to make sure that your users don’t leave the response field empty.
3. Add Logic Jumps to the Date question type
With the Date question you have the following options:
- is on
- is not on
- is before
- is before or on
- is after
- is after or on
This lets you send respondents down a different route based on the date they input.
4. Add Logic Jumps to Numerical question types or based on the Score variable
- is equal to
- is not equal to
- is lower than
- (is) lower than or equal to
- is greater than
- (is) greater than or equal to
Setting logic paths as Required
If you want to ensure people go down one logic path or another, make sure to set all questions in that path to Required. If you don’t there’s a chance people might miss them. Here’s why:
When respondents try to skip Required questions and hit Submit, the typeform goes into review mode. This sends them back to the Required question(s) they missed. However, if the Required question has Logic Jumps that send people down different paths, those follow-up questions will be greyed out unless they are also set to Required.