Using and/or with Logic Jump

When setting up your Logic Jumps, make sure you use and/or correctly, or your form might not work correctly. This article gives you an example and explains how to use and/or.

Here’s a common mistake with and/or:

This form asks ‘Are you a cat or a dog person?’. The answer will send them down different logic paths, and later we ask both groups ‘So now, pineapples on your pizza?’:

From question 4, we want to send people do different custom Thank You screens:

If you’re a cat person who likes pineapple on pizza you see this:

If you’re a dog person who likes pineapple on pizza you see this:

But if you’re either a dog or a cat person who doesn’t like pineapple on pizza, we want to show this:

On the pizza question there are three Logic Jumps sending respondents to the Thank You screens. The first two are fine:

But the last Logic Jump cannot be satisfied, and will break your typeform! Why? Because it’s impossible for someone to have answered Cat and Dog to the question ‘Are you a cat or a dog person?’. Have a look:

The solution is to use or instead of and:

In this way, people who like Cats or Dogs and don’t like pineapple on pizza will see the Thank You screen ‘OK, how about pickles on pizza?‘.