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 need troubleshooting help, check out our troubleshooting tips: Logic not working? Here are 5 ways to fix it.
Logic
When creating logic rules, you won’t be able to use answers to the following question types as conditions: Matrix, Statement, Phone Number, Ranking, Payment, or Scheduler.
You can still use these question types in a typeform with logic, and you can also create logic 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:
- Multiple Choice
- Short Text
- Email question
- Phone Number
Click the + button next to Logic in the right side menu to open the Logic window.
You can see all four questions in the Logic window, including the Phone number question.
We'll click on the Phone number question on the left and click Branching.
In the Always go to dropdown, you can set what the respondent should see after answering the Phone Number question. This will show all questions and Endings.
You can also add a branching rule to the question by clicking + Add branching rule. You might do this if you want 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 branching rule. You’ll only see the Multiple Choice, Short Text, or Email questions available for setting conditions.
As a comparison, here’s how the logic window looks when we try to add a branching 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 branching 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 logic.
Outcome quizzes
You can only link answers to Endings for the following question types:
- Multiple Choice
- Picture Choice
- Yes/No
- Dropdown
- Opinion Scale
- Rating
- Legal
You can use other question types on an 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 the Multiple Choice questions appear as options for linking answers to Endings.
Learn more about Outcome quizzes in our guide to outcome quizzes.
Score quizzes
You can only add scores to the following question types:
- Multiple Choice
- Picture Choice
- Yes/No
- Dropdown
- Opinion Scale
- Rating
- Legal
You can add other question types in a 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 in our score quizzes article.
Have more questions about logic? Check out our guides in our main logic guide library or read our troubleshooting tips: Logic not working? Here are 5 ways to fix it.