I have skip logic I want to achieve with the following questions:
Q1 Age
Q2 Gender
Q3 Choose one of the options
• Choice 1
• Choice 2
• Choice 3
• Choice 4
Q4
Q5
Q6
Q7
Q8
Q9
Q10
End of the Form
Desired skip logic when answering Q3:
If Choice 1 is selected, then answer Q4 and Q5 and skip to the End of the Form
If Choice 2 is selected, jump to Q6 and answer all subsequent questions up to the End of the Form
If Choice 3 is selected, jump and show only Q7 and after answering Q7, jump to the End of the Form
If Choice 4 is selected, jump to the End of the Form.
My hurdle is to implement the desired skip logic when Choice 3 is selected.
This is helpful! What would I change the = in the ${Q3}=‘2’ to, if I wanted the Q to only be relevant if the previous answer included (not just equalled) a certain set of characters?
Got it - If the new question should only appear if previous question name ‘school’ has an answer whose name includes ‘p2’ or ‘p1’, put in the ‘relevance’ column of the Kobo XLS:
contains(${school}, ‘p2’) or contains(${school}, ‘p1’)