Creating a choice filter (with multiple conditions) through an if-statement

OK, 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:

image

Data entry screen as seen in Enketo: when nothing is entered

Data entry screen as seen in Enketo: when condition 1 is satisfied

Data entry screen as seen in Enketo: when condition 2 is satisfied

Data entry screen as seen in Enketo: when condition 3 is satisfied

Data entry screen as seen in Enketo: _when neither of the conditions is satisfied

Reference XLSForm:

Choice Filter with If Statement.xlsx (12.7 KB)

2 Likes