Table-list

Dear all,

Do you know if there is a way to enforce that at least one option must be
picked as Yes when using table-list? The questions is
C.3 Apart from fever, what other symptoms did ${namefromearlier2} have? and
the alternatives are: Vomiting Headache Cold Diarrhea Convulsions
where the type is select_one yes_no?

Thanks a lot!!!

Pamela.

Hi Pam,

Add a constraint on the convulsions question that checks what you describe.

selected(${vomiting}, 'yes') or selected(${headache}, 'yes') or
selected(${cold}, 'yes') or selected(${diarrhea}, 'yes') or
selected(., 'yes')

Yaw

··· -- Need ODK consultants? https://nafundi.com provides form design, server setup, in-field training, and software development for ODK.

On Thu, Oct 22, 2015 at 8:23 PM, pamjervis@gmail.com wrote:

Dear all,

Do you know if there is a way to enforce that at least one option must be
picked as Yes when using table-list? The questions is
C.3 Apart from fever, what other symptoms did ${namefromearlier2} have?
and the alternatives are:
Vomiting
Headache
Cold
Diarrhea
Convulsions

where the type is select_one yes_no?

Thanks a lot!!!

Pamela.

--

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.

Thank you Yaw!!! you're the best!

··· On Friday, October 23, 2015 at 12:50:40 AM UTC+1, Yaw Anokwa wrote: > > Hi Pam, > > Add a constraint on the convulsions question that checks what you > describe. > > selected(${vomiting}, 'yes') or selected(${headache}, 'yes') or > selected(${cold}, 'yes') or selected(${diarrhea}, 'yes') or > selected(., 'yes') > > Yaw > -- > Need ODK consultants? https://nafundi.com provides form design, server > setup, in-field training, and software development for ODK. > > On Thu, Oct 22, 2015 at 8:23 PM, <pamj...@gmail.com > wrote: > > Dear all, > > > > Do you know if there is a way to enforce that at least one option must > be > > picked as Yes when using table-list? The questions is > > C.3 Apart from fever, what other symptoms did ${namefromearlier2} have? > > and the alternatives are: > > Vomiting > > Headache > > Cold > > Diarrhea > > Convulsions > > > > where the type is select_one yes_no? > > > > Thanks a lot!!! > > > > Pamela. > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >