Hi all,
I’m having some issues with an XLSForm being deployed on Kobo Web Forms.
The form is setup as follows (I’ve included a copy-and-paste below, but can’t seem to get the formatting right):
- I have a question: Have you travelled in the past few weeks? (name: toplevelquestion)
- I have several answers: Yes, every week (name: number1); Yes, once a week (name: number2); No (name: number3)
- I have a follow-up question: To which countries? (name: subquestion)
- I would like this follow-up question to appear only if a respondent selects either ‘Yes, every week (name: number1)’ OR ‘Yes, once a week (name: number2)’
I’ve added this into the ‘relevant’ column: ${toplevelquestion} = ‘number1’ or ‘number2’
I don’t get any error messages when I upload the form, but when using it in Web Forms (the only way it will be deployed), the follow-up question appears without any options being selected. How can I keep it hidden unless one of the relevant answers is selected?
Thank you!
Andrew
type | name | label::English (en) | required | read_only | appearance | hint::English (en) | relevant |
---|---|---|---|---|---|---|---|
select_one number | toplevelquestion | Have you travelled in the past few weeks? | |||||
text | subquestion | To which countries? | ${toplevelquestion} = ‘number1’ or ‘number2’ |