We get it, Logic can be tricky sometimes. This is why we've put together this checklist of common Logic issues for you. You can always turn to this list before blaming the universe for lacking logic and thinking that everything is descending into chaos (:
5 things that could be messing up your Logic
1. Your logical rules are in the wrong order
Make sure you’re adding Logic in the correct order. Head to this article to learn what’s important when it comes to ordering Logic.
The first rule of thumb you should try to keep in mind is that Logic can’t go back to a place where it hasn't been before. When adding multiple logical rules to your typeform, make sure that you’re not adding conditions based on previous questions.
For example, if you set Logic from your first question to your fourth question, then you’re skipping the second and third questions. These questions will not be included in the logic path of the typeform, and the form will just end after jumping to the fourth question without going back to the second and third questions.
2. You're not using AND/OR operators correctly
Make sure that you’re using the AND/OR operators correctly. Head to this article to learn more about how to use them when setting conditions for Logic.
- The use of parenthesis with AND/OR conditions in a single logical rule is not supported. The solution in the screenshot below follows the logic of operators, but it won't work with Logic:
- To avoid this, add a separate rule when you start using a different operator type. Just remember to use AND with AND and OR with OR. This will keep your Logic structure nice and tidy, and you’ll be able to eliminate conflicting AND/OR operators.
3. Something's wrong with your personality quiz
Check for specific issues when creating personality quizzes. You can also read this article and check out this template to learn how to become a master personality quiz builder using Logic.
- Make sure you add scores in the correct order for each of your questions. Scores will be added up in the end, and a personality type will be determined based on that score. These calculations can only be correct if the same score is consistently added to the same option in each question.
- If your user can earn 1 point for answer A, 10 points for answer B, 100 points for answer C, and 1000 points for answer D, then you must always add the same score to the corresponding answer.
Consistent scores will guarantee that you can match personality types to scores correctly, just like in the example below:
- Use the OR operator instead of AND when adding Logic to scores. Using the AND operator would mean that your logical rule would have to meet all of the conditions listed simultaneously for it to work. You can also check out this article to learn how to add Logic to scores.
In the example below, the scores from the answers are connected by an AND operator, which means that they would only jump to the selected question if someone reached all the different scores at the same time. This scenario would require more magic than logic (:
Instead of the solution above, simply use the OR operator to show different Ending Screens or questions based on different scores in a quiz. Here’s an example that would work perfectly with different scores:
- You can also check if Randomized is enabled in your Multiple Choice or Picture Choice questions. Disabling it might help with Logic issues, depending on the use case, but this is not a general solution. You can read more about randomizing your questions here.
4. You forgot to set "reminder" Logic
When multiple selection is enabled, and you’re using multi-branching, don’t forget to set up what we sometimes call “reminder” Logic. The logic behind this is that if you only add Logic to the first question, your follow-up questions won’t “remember” this Logic when multiple options are selected.
What? Logic has the memory of a goldfish? Read on to learn how to teach them to remember. You can also read this article to learn more about the difference between single-branching and multi-branching.
In the scenario below, Multiple selection is enabled, and I want to add Logic to follow-up questions as well to cover all possible multiple selections.
This way I’m basically setting the same Logic for the follow-up questions as for the first question while eliminating questions that I’ve asked before.
1. First add logical rules to all the options in the first Multiple Choice question.
2. Then add Logic to all the follow-up questions that the Logic goes to from the Multiple Choice question.
When adding “reminder” Logic to the follow-up questions, the first follow-up question will have to jump to all the remaining (in this case three) follow-up questions.
The second follow-up question will have two logical rules for the remaining options:
The third follow-up question will have one logical rule for the remaining option:
There is no need to add “reminder” Logic to the last follow-up question.
5. You're not using "reverse logic" with blank fields
When adding Logic to blank fields, make sure you’re using “reverse logic”. You can add Logic with negative conditions to blank fields, but you cannot use positive conditions, like is equal to.
Head to this article to learn how to set up "reverse logic" with negative conditions for blank fields.
Didn't find the answer to your Logic problem? Contact us using the button below and we'll be happy to help. Your feedback and questions help us improve Typeform:)