Hi community, I have multiple select questions and i want only the responses selected in Q1 displayed in Q2 which i was able to do with choice_filter. selected(${Q1}, name). However, in addition, i want to keep one of the responses (None) visible in Q2 irrespective of the selections in Q1. How do i do this?
Welcome to the community, @isaacadekunbi! Maybe you could use this approach as outlined in this post discussed p previously:
Thank you for the response. However, i have seen this solution before but it doesn’t seem to work in my case probably because both questions in my form are multiple_select questions. Please see sample questions below…
Q1. Which of these products are you aware of? (MA)
- Pdt A
- Pdt B
- Pdt C
- Pdt D
- Pdt E
Q2. Which of these products have you used before? (MA)
So in Q2, i want to have all the selected choices in Q1 displayed and also a “None” option included.
@isaacadekunbi, if that is your case then you could do it as outlined in the image shared below:
In the survey tab of your XLSForm:
In the choices tab of your XLSForm:
Data entry screen as seen in Enketo: when nothing is selected in Q1
Data entry screen as seen in Enketo: when something is selected in Q1
Reference XLSForm:
Thanks so much @Kal_Lam . The suggested solution worked perfectly.
1 Like