May I know what’s wrong with my constraint syntax to prevent selecting “None” and any other option in a select_multiple question type but it’s not working at all.:
not(selected(.,‘None’) and count-selected(.)>1)
@solotheking , this post discussed previously should help you solve your issue:
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: (when a condition is met)
[Image 3]
Data entry screen as seen in Enketo: (when a condition is not met)
[Image 4]
Data entry screen as seen in Enketo: (when a condition is not met)
[Image 5]
Data entry screen as seen in Enketo: (when a condition is not met)
[Image 6]
Data entry screen as seen in Enketo…
Thanks a lot. You’ve saved a situation right now. May you be blessed beyond measure. select_multiple blessing
1 Like