In conditions you place a logical expression that is evaluated to true or false. If it is true the questions in the THEN-branch will be presented to the respondent. If it is false, the interview skips the THEN-branch. If the condition has an ELSE-branch the questions in the ELSE branch will be presented if the condition is false, otherwise they will be skipped.
Screening Based on a Single Question
Assume the questionnaire has an age question (single), and you wish to screen respondents below the age of 18 from doing the rest of the interview. The age question has the following answer list:
Figure 1 - Age question Answer list
To screen respondents that answer "Below 18", insert a condition after the single question with the following syntax:
f('age') == '1'(The word age here is the question ID of the age question.) Building the conditional expression can be done by using the condition builder:
Figure 2 - Building a conditional expression in the condition builder
The routing will look like this:
Status is set to "screened" in the properties of the stop node. The interview will end there for all respondents answering "Below 18", but will continue for all the other respondents.