Signup
 

Ordering Logic

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.

Note: Logic isn't available on our mobile builder just yet. Edit your typeform on desktop to get the full power of Logic!

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 below.

ordering1.png

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 questions 2 and 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.

2023-12-29_10-56-34.png

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!

Tap into our community knowledge