Validation or Constrain

Dear Kobo users,

I am trying to add validation criteria for the following select one questions

Q1. First Priority needs of the community (select one)

Food, Shelter, Water, Sanitation, Primary health care, medicines, Education, Relocation, Livelihoods, Fuel, Women items (dignity kits), Households items

Q2. Second priority needs of the community (Select one)
(Same options)

Q3. Third priority needs of the community (Select one)
(Same options)
Q4. Other needs elaborated on the above checklists (multiselect)
(Same options)

My question is how to add validation in Q2, Q3 and Q4. If you have any ideas, please let me know.

Best Regards,
Myint Thu

1 Like

Hi @mt_pin24,

Welcome back to the community! You could do the same as outlined in the image below:

In the survey tab of your xlsofrm:
Image 0.1

In the choices tab of your xlsofrm:
Image 0.2

Reference xlsform:
Form with same choices.xlsx (11.3 KB)

Please let us know if you are looking to something else.

Have a great day!

1 Like

In addition:

  • I think selection in the 4 steps should be unique, i.e second priority should not include first prioity chosen. A dynamic choice-filter could do the job. name != selected(…)
  • Maybe ranking question type might also be an option, at least for the first 3 steps?