Why doesn't my question work with Logic?
You can use Logic in Typeform to create Outcome quizzes or Score quizzes, add question branching to your typeform, and do calculations based on the answers to your typeform’s questions.
However, not all question types are compatible with these features. Read on to find out more.
If you’ve read this guide, but still have questions about setting up the Logic you need, check out our guides to Logic here or read our troubleshooting tips: Logic not working? Here are 5 ways to fix it.
Branching and calculations
When creating logical rules, you won’t be able to use answers to the following question types as conditions: Matrix, Statement, Phone Number, Ranking, Payment, Calendly, Address, or Contact Info.
You can still use these question types in a typeform with Branching and calculations, and you can also create logical rules for these question types. However, if these rules have conditions, you’ll only be able to refer to the answers for other question types.
How does this work? Here’s an example. This form uses four different question types: a Multiple Choice question, a Short Text question, an Email question, and a Phone Number question:
In the Branching, segmentation and calculations dialog under the Logic tab, you can see all four questions, including the Phone Number question.
You can use the dropdown menu to set what the respondent should see after answering the Phone Number question. This will show all typeform questions and Endings.
You can also add a logical rule to the question by clicking + Add rule. You might do this if you wanted respondents to see different follow-up questions or Ending after the Phone Number question.
However, when you do this, you won’t be able to use answers to the Phone Number question as conditions for the logical rule. You’ll only see the Multiple Choice, Short Text, or Email questions available for setting conditions:
As a comparison, here’s how the dialog looks when we try to add a logical rule to the Email question. Here, we can use answers to that same question as conditions for the rule, since Email questions are compatible with branching logic.
Setting logical rules on questions that aren’t compatible with branching logic can still be useful. For example, in the form used here, you might want respondents to see the Phone Number question no matter what, but then see different Endings depending on their answer to the Multiple Choice question.
Since the Phone Number question is after the Multiple Choice question, you should set up this Logic on the Phone Number question, and not the Multiple Choice question. Otherwise, the Phone Number question will get skipped, and respondents will see an Ending after the Multiple Choice question!
Learn more about Branching and calculations here.
Outcome quizzes
You can only link answers to Endings for the following question types: Multiple Choice, Picture Choice, Yes/No, Dropdown, Opinion Scale, Rating, and Legal. You can use other question types in a typeform that uses Outcome quiz, but you won’t be able to link the answers to those questions to Endings.
For example, this typeform uses two different question types. Questions #1 and #3 are Multiple Choice questions, and question #2 is a Short Text question.
However, in the Outcome quiz dialog, only questions #1 and #3 appear as options for linking answers to Endings.
Learn more about Outcome quizzes here.
Score quizzes
You can only add scores to the following question types: Multiple Choice, Picture Choice, Yes/No, Dropdown, Opinion Scale, Rating, and Legal. You can use other question types in a typeform that uses Score quiz, but you won’t be able to score those questions.
For example, this form uses two different question types. Questions #1 and #3 are Multiple Choice questions, and question #2 is a Short Text question.
In the Score quiz dialog, only questions #1 and #3 are available for adding scores.
Learn more about Score quizzes here.
Have more questions about Logic? Check out our guides here or read our troubleshooting tips: Logic not working? Here are 5 ways to fix it.