Validation and constraint

You could do the same as outlined in the image below:

In the survey tab of your xlsform:
Image 1

In the choices tab of your xlsform:
Image 2

Data entry screen as seen in Enketo:

Reference xlsform:
Auto Select.xls (29.5 KB)

Note: You could also use the ready_only if you wish to have the response for Q2 locked as shown in the image below:

image

Reference xlsform:
Auto Select.xls (29.5 KB)

1 Like