Multiple choice question with specific number of answers

Hello everyone,
Did anyone came across doing a question to choose 3 out of 5 answers only?
Any ideas on this would be appreciated.

Hi,

You would do this by using a "checkbox" question type with 5 choices, and
then a validation condition against the number selected. This can be found
on the helpsite here
https://wiki.commcarehq.org/display/commcarepublic/Logic+for+Checkbox+Questions
.

  • Example:* if you want a validation condition that a user must select 3
    options: count-selected(.) = 3

Happy app building!

-A

··· On Thu, Feb 25, 2016 at 2:46 PM, wrote:

Hello everyone,
Did anyone came across doing a question to choose 3 out of 5 answers only?
Any ideas on this would be appreciated.

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

--
Andrea Fletcher, MPH | Project* Manager | Dimagi, Inc.*
585 Massachusetts Ave, Cambridge MA
United States: +1724.840.8809
Skype: andrea-fletcher

This is exactly what i was looking for. It's my fault not to fully read the
full wiki about check-boxes :slight_smile:
Thank you so much, Andrea!

··· On Thursday, February 25, 2016 at 11:28:02 AM UTC+2, Andrea Fletcher wrote: > > Hi, > > You would do this by using a "checkbox" question type with 5 choices, and > then a validation condition against the number selected. This can be found > on the helpsite here > > . > > * Example:* if you want a validation condition that a user must select 3 > options: count-selected(.) = 3 > > Happy app building! > > -A > > On Thu, Feb 25, 2016 at 2:46 PM, <prox...@proximityinternational.com > wrote: > >> Hello everyone, >> Did anyone came across doing a question to choose 3 out of 5 answers >> only? Any ideas on this would be appreciated. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Andrea Fletcher, MPH | Project** Manager | Dimagi, Inc.* > 585 Massachusetts Ave, Cambridge MA > *United States:* +1724.840.8809 > *Skype:* andrea-fletcher >