How conditional questions work
Conditional custom questions are used to create a question tree based on the set hierarchy and the answer provided. Using a parent/child relationship, a child question is only asked based on the answer to the parent question.
A child question can have multiple levels and can become the parent to the next child questions.
Common uses for conditional questions include:
- Wanting the whole questionnaire to stop if questions are answered a certain way, e.g. not continuing to ask health-related questions if the person indicates they are not safe to sign in.
- Having different types of people answer different questions.
- Only providing more detail when required.
Creating a conditional question
To create a question that is conditional on another, add the question in the same way as a normal question and set a parent question. If the parent question is answered in the set way, the conditional (child) question will then be asked.
Conditional questions based on conditional questions
You can set one question to be based on a parent question, then another to be based on that question:
- Question 1 asks if they have any electronics.
- Question 2 asks what electronics but only if they select Yes for the first.
Multiple questions based on one parent
You ask different questions based on the responses your guest gives. For example:
- Question 1 asks what type of visitor they are.
- Questions 2 is asked if they respond Yes.
- Questions 3 is asked if they respond No.
Single conditional question among main questions
You can have one conditional question branch off, then return to the main questions. For example:
- Question 1 and 2 are for all contractors.
- Question 3 is asked if they responded Yes to question 3.
- Question 4 is for all contractors.