Dynamic Question Set
Last updated
Last updated
A dynamic question set allows you to add logic to your answers based on responses to other questions.
You can incorporate this logic into your question set through the Project Creation Wizard (PCW) and Question set management. Below are the steps:
Click Manage question logic icon located in the right bottom corner\
Choose whether a question will need question logic or not
ALWAYS SHOW
indicates that the question does not depend on any prerequisites and will always be displayed
IF
indicates that the question has specific requirements that must be met before it becomes visible\
Each question type has unique comparison rules.
Text, Textarea, URL, Dropdown, and Hierarchical dropdown offer various rules, including:
IS
: Checks if the answer has exact matches
IS ANSWERED
: Checks if the answer has a response
CONTAINS
: Checks if the answer contains specific keyword
Additionally, Text and Textarea also offer:
STARTS WITH
: Checks if the input begins with a specific text
ENDS WITH
: Checks if the input ends with a specific text
CONTAINS
BehaviorsThe key points of CONTAINS
logic are
Single answer: Check whether the logic is a substring of the answer. For example, run
is a substring of running
Multiple answers: Check whether the answer exactly matches the logic. For example, run
is exactly match with run
Q1 is a text question with a single answer.
Q2 is a text question that have logic Q1 CONTAINS run
.
Answer the Q1 with “Marathon run” or “running outside”, then the Q2 will be activated.
Date, Time, and Radio button provide two rules:
IS
: Checks if the answer has exact matches
IS ANSWERED
: Checks if the answer has a response
Checkbox provide two rules:
IS CHECKED
: Checks if the checkbox is selected
IS UNCHECKED
: Checks if the checkbox is not selected
Slider has the following comparison rules:
IS
: Exact match with the value
>
: Greater than the value
<
: Less than the value
≥
: Greater than or equal to the value
≤
: Less than or equal to the value
Q1 is a slider question with a single answer.
Q2 is a text question that have logic Q1 ≥ 8
.
Answer the Q1 with value 8, 9 or 10, then the Q2 will be activated.
For the conditional clause, we have two conjunctions that can be used.
AND
relation : all statements must be true if you want the question to appear.
OR
relation : only one true statement can trigger the question to be shown.