Hi everyone… I have a question with multiple answer then I want to make a validation code, where one of the choices must be selected. please tell me how to write the validation code
Hi
Q1 Multiple Question
Choice :
Jakarta
Bandung
Surabaya
one of the choices must be selected, example Jakarta must be selected.
Just give syntax :
constraint : selected(${Q1} , ‘1’)
constraint_message : Jakarta must be selected.
h t t p://support.kobotoolbox.org/creating-forms/general/limiting-responses-with-validation-criteria
Thanks
Regards
Tulus
Hi Tulus
Thanks for your respons. It’s Work!
How to make validation code for multiple questions where answers to previous questions must be present or selected in the next question
Previous answered : Jakarta, Bandung must be selected in next question
Regards,
Akoh
Hi @akoh Please refer to this article on cascading select questions and see if that helps answer your second question - http://support.kobotoolbox.org/creating-forms/general/adding-cascading-select-questions