Constraints handling in select_one questuion type

Hello All.

I am designing a form to collect information about Jungle & Pet animals, in
a repeat group.

I have a repeat count of 3 for this repeat group.
My select_one type has choices :- Jungle, Pet.
My select_one animal has choices :- Lion,Tiger,Elephant,Cat,Dog.

What I need, that, if I select "Jungle" in select_one type, and after that
Cat or Dog in select_one animal, then collect should throw constraint
message as not acceptable and if I select animal as Lion etc, it should go
to the next question, and also conversely.

My list of animals may extend at the most 10 choices.
How to handle such constraints between select_ones?

"relevant" may be used but I fear it will increase number of columns in CSV
file...

Will anybody help, please.

Thanks and regards.

Use two select_one animal questions (e..g, pet_animal, jungle_animal).
Use relevance (http://xlsform.org/#relevant) to show the appropriate
one based on what is selected in select_one type.

Yaw

ยทยทยท -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 24, 2015 at 7:29 AM, Praxis NFP praxisnfp@gmail.com wrote:

Hello All.

I am designing a form to collect information about Jungle & Pet animals, in
a repeat group.

I have a repeat count of 3 for this repeat group.
My select_one type has choices :- Jungle, Pet.
My select_one animal has choices :- Lion,Tiger,Elephant,Cat,Dog.

What I need, that, if I select "Jungle" in select_one type, and after that
Cat or Dog in select_one animal, then collect should throw constraint
message as not acceptable and if I select animal as Lion etc, it should go
to the next question, and also conversely.

My list of animals may extend at the most 10 choices.
How to handle such constraints between select_ones?

"relevant" may be used but I fear it will increase number of columns in CSV
file...

Will anybody help, please.

Thanks and regards.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.