I have a queastionnaire whereby the first question asks how many networks are you affiliated to(single select eg. .(1,2, or 3 as choices), then the next question allows to select multiple networks depending with the number of networks you are affiliated to..So in this second question, I would like if they have selected 1 as an option, then it only allows them to select 1 network in the list of networks, if they have selected 2, only 2 networks allowed and if they have selected 3, only three are allowed to be selected. How do I execute that?
Welcome back to the community, @paul_maleya! You should be able to do this by following the instructions 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 1 is selected in Q1, one choice is allowed and accepted in Q2
Data entry screen as seen in Enketo: when 1 is selected in Q1, more than one choices are not allowed in Q2
Data entry screen as seen in Enketo: when 2 is selected in Q1, two choices are allowed and accepted in Q2
Data entry screen as seen in Enketo: when 2 is selected in Q1, more than two choices are not allowed in Q2
Data entry screen as seen in Enketo: when 3 is selected in Q1, three choices are allowed and accepted in Q2
Data entry screen as seen in Enketo: when 3 is selected in Q1, more than three choices are not allowed in Q2
Reference XLSForm:
Count Selected & If-Statement.xlsx (9.9 KB)