Adding Constraints to ODK-X

Hello, My name is James. How do you add a constraint in odk-x. For instance i want to check if the age of a person is than 18. If the age is less it should prompt the screen for other data to be collected.
Thank you in advance.

I managed to fix the issue. Thanks in case anyone experiences the same issue i will be glad to help.

1 Like

Hi @James_Nyanga! As you are new to the community, when you get a chance, please introduce yourself here.

Glad you were able to figure out the constraints and thanks for offering to help others! The documentation here:
https://docs.odk-x.org/xlsx-converter-reference/?highlight=constraint
has a bit on how they work and also the reference applications that come with the tools have lots of examples for folks who want to know how to do constraints!