When you’re using Logic, it’s important that you put them in the right order, or your typeform may not work correctly. This article explains how to get it right.
If Logic is set up to skip a question, you cannot use Logic later on to send people back to that same skipped question. Confused? Let’s look at an example:
This typeform starts off by asking you about cats and dogs. If you answer ‘Dog’ then Logic sends you to Question 4, ‘Do you have a dog?, skipping question 3. But then, Question 4 has Logic set up to send you to Question 3.
This will not work. Because Question 3 was skipped earlier, it has not been loaded into the live typeform, and the Logic will have nowhere to go. This will break the typeform! You'll see an error warning you on the Logic Map and in the Branching & calculations menu.
To avoid this, you have to order the questions differently, so that users cannot skip questions that they have to return to later on.
You can either add the skipped question again later in the typeform, or you can rearrange the questions. In this example, we can just move Question 3 ‘So now: pineapples on your pizza?’ to after Question 4. This means it won’t be skipped by people who go down the Dogs logic path:
This setup will work perfectly. Respondents cannot skip questions that they might have to return to later, and the typeform won’t get stuck.
So remember: question order matters!