Automatic selection of one answer based on another

In this case 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 2

Data entry as seen in Enketo: condition that meets the first criteria

Data entry as seen in Enketo: condition that meets the second criteria

Data entry as seen in Enketo: condition that meets the third criteria

Data entry as seen in Enketo: condition that meets the fourth criteria

Reference xlsform:

Prefill (if-statement).xlsx (11.5 KB)

2 Likes