I am asking users their choice about multiple Brands, using combo box. If
user select option A in Choice 1, then in Choice 2 and Choice he should not
be allowed to select option A. But he can choose "None" as option in Choice
1, Choice 2, Choice 3.
You can add a constraint to Choice 2 that complains if it is the same
option as for Choice 1 and asks the user to pick a different option.
Similarly, for Choice 3, a constraint can be constructed if the option
picked for 3 was already picked for 1 OR 2.
···
On Fri, Feb 22, 2013 at 2:09 AM, techbyte wrote:
I am asking users their choice about multiple Brands, using combo box. If
user select option A in Choice 1, then in Choice 2 and Choice he should not
be allowed to select option A. But he can choose "None" as option in Choice
1, Choice 2, Choice 3.
I have done this the challenge I am facing is "None" it is a valid option
for some of the choices so I want to take None as valid option for multiple
answers
···
On Saturday, February 23, 2013 9:31:05 AM UTC+5:30, Gaetano Borriello wrote:
>
> You can add a constraint to Choice 2 that complains if it is the same
> option as for Choice 1 and asks the user to pick a different option.
> Similarly, for Choice 3, a constraint can be constructed if the option
> picked for 3 was already picked for 1 OR 2.
>
>
> On Fri, Feb 22, 2013 at 2:09 AM, techbyte <techb...@gmail.com wrote:
>
>> I am asking users their choice about multiple Brands, using combo box. If
>> user select option A in Choice 1, then in Choice 2 and Choice he should not
>> be allowed to select option A. But he can choose "None" as option in Choice
>> 1, Choice 2, Choice 3.
>>
>> Choice 1
>> Choice 2
>> Choice 3
>>
>>
>> Attaching form
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "ODK Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to opendatakit-developers+unsubscribe@googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
You should just be able to wrap the and that excludes duplicates with an or
that allows 'None' i.e., do something like:
constraint="(string(/data/Top_of_Mind_Brands/TMB_Rank6) = 'None') or (...)"
where ... is the and clause that excluded the duplicate selections.
Mitch
···
On Fri, Feb 22, 2013 at 10:09 PM, techbyte wrote:
Thanks For Reply.
I have done this the challenge I am facing is "None" it is a valid
option for some of the choices so I want to take None as valid option for
multiple answers
On Saturday, February 23, 2013 9:31:05 AM UTC+5:30, Gaetano Borriello wrote:
You can add a constraint to Choice 2 that complains if it is the same
option as for Choice 1 and asks the user to pick a different option.
Similarly, for Choice 3, a constraint can be constructed if the option
picked for 3 was already picked for 1 OR 2.
I am asking users their choice about multiple Brands, using combo box.
If user select option A in Choice 1, then in Choice 2 and Choice he should
not be allowed to select option A. But he can choose "None" as option in
Choice 1, Choice 2, Choice 3.
Choice 1
Choice 2
Choice 3
Attaching form
--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+**unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.