Is there a way to make requirement of a question conditional on the answer to a previous question?
ie: if Q1=yes then Q2 is required, if Q2=no then Q2 appears but it's not required.
Hello,
Welcome to the ODK forum, @Olta_Ndoja! We're glad you're here. When you get a chance, please Introduce yourself here!.
From my understanding, conditionally required functionality is not available on ODK.
Thanks
1 Like
Hi @Olta_Ndoja! This is something you can do in the ODK-X tools, but not sure about the ODK tool suite. Which are you using?
1 Like
In XLSForm, any expression that evaluates to true
or false
can be used in the required
column, just like with the constraint
or relevant
column. Here's an XLSForm that shows conditionally requiring a question: required-expression.
Please point to what gave you that impression so that we can be sure to make it explicit that it's very possible!
4 Likes
Thanks!! This works perfectly.
1 Like