Restrict combinations of choices in select_multiple

Hi all,

I have a few examples of this coming up; select_multiples where we want to
prevent people from selecting two choices that negate each other, ie:

How was the evaluation conducted?

  1. Daily evening meeting with DM

  2. Daily evening meeting with CMO

  3. No meetings held

  4. Other (please specify in next prompt)

Wherein a respondent can select any combination of 1, 2, and 4 OR 3 and 4
but selecting 3 prevents choosing 1 or 2 in addition. (No meetings negates
type of meeting). How can I do this in XLS Form?

Thanks!

See https://opendatakit.org/help/form-design/binding/
for the list of available functions.

e.g., constraint:

not(selected(${field},'DM') and selected(${field},'CMO'))

ยทยทยท On Wed, Dec 9, 2015 at 1:30 AM, Jordan Levinson wrote:

Hi all,

I have a few examples of this coming up; select_multiples where we want to
prevent people from selecting two choices that negate each other, ie:

How was the evaluation conducted?

  1. Daily evening meeting with DM

  2. Daily evening meeting with CMO

  3. No meetings held

  4. Other (please specify in next prompt)

Wherein a respondent can select any combination of 1, 2, and 4 OR 3 and 4
but selecting 3 prevents choosing 1 or 2 in addition. (No meetings negates
type of meeting). How can I do this in XLS Form?

Thanks!

--

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.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com