Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that participants
cannot select* 'don't know' and another answer* AND 'refuse to answer' and
another answer. I have successfully used not(selected(., '999') and
count-selected(.) > 1), but don't know how to add in the 'refuse to answer'
(666) within the function. Thank you for your help!
What activity have you participated in? (SELECT ALL THAT APPLY).
···
On Tue, Sep 13, 2016 at 1:22 PM, Emily Epsten wrote:
Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that participants
cannot select* 'don't know' and another answer* AND 'refuse to answer'
and another answer. I have successfully used not(selected(., '999') and
count-selected(.) > 1), but don't know how to add in the 'refuse to answer'
(666) within the function. Thank you for your help!
What activity have you participated in? (SELECT ALL THAT APPLY).
Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that participants
cannot select* 'don't know' and another answer* AND 'refuse to answer'
and another answer. I have successfully used not(selected(., '999') and
count-selected(.) > 1), but don't know how to add in the 'refuse to answer'
(666) within the function. Thank you for your help!
What activity have you participated in? (SELECT ALL THAT APPLY).
I wanted to follow-up on the question above. I realized if I select only
'don't know', then it says the response is invalid. However, if I select
only 'refuse to answer' it works. I still want to be able to select
multiple options, just not 'don't know' and anything else and 'refuse to
answer' and anything else together. Thoughts?
Thanks for your help!
Emily
···
On Wed, Sep 14, 2016 at 7:12 AM, Emily Epsten wrote:
Thanks, Will!
Emily
On Tue, Sep 13, 2016 at 11:23 AM, William Pride wpride@dimagi.com wrote:
Hi Emily,
I think adding an 'or' statement will do what you're looking for, IE:
not(selected(., '999') or selected(., '666') and count-selected(.) > 1)
Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that
participants cannot select* 'don't know' and another answer* AND 'refuse
to answer' and another answer. I have successfully used
not(selected(., '999') and count-selected(.) > 1), but don't know how to
add in the 'refuse to answer' (666) within the function. Thank you for your
help!
What activity have you participated in? (SELECT ALL THAT APPLY).
Sorry about that - I think using parenthesis such that you have
not((selected(., '999') or selected(., '666')) and count-selected(.) > 1)
will work.
Cheers,
Will
···
On Mon, Sep 19, 2016 at 5:45 PM, Emily Epsten wrote:
Hi Will,
I wanted to follow-up on the question above. I realized if I select only
'don't know', then it says the response is invalid. However, if I select
only 'refuse to answer' it works. I still want to be able to select
multiple options, just not 'don't know' and anything else and 'refuse
to answer' and anything else together. Thoughts?
Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that
participants cannot select* 'don't know' and another answer* AND 'refuse
to answer' and another answer. I have successfully used
not(selected(., '999') and count-selected(.) > 1), but don't know how to
add in the 'refuse to answer' (666) within the function. Thank you for your
help!
What activity have you participated in? (SELECT ALL THAT APPLY).
I wanted to follow-up on the question above. I realized if I select only
'don't know', then it says the response is invalid. However, if I select
only 'refuse to answer' it works. I still want to be able to select
multiple options, just not 'don't know' and anything else and 'refuse
to answer' and anything else together. Thoughts?
Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that
participants cannot select* 'don't know' and another answer* AND 'refuse
to answer' and another answer. I have successfully used
not(selected(., '999') and count-selected(.) > 1), but don't know how to
add in the 'refuse to answer' (666) within the function. Thank you for your
help!
What activity have you participated in? (SELECT ALL THAT APPLY).
I wanted to follow-up on the question above. I realized if I select only
'don't know', then it says the response is invalid. However, if I select
only 'refuse to answer' it works. I still want to be able to select
multiple options, just not 'don't know' and anything else and 'refuse
to answer' and anything else together. Thoughts?
Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that
participants cannot select* 'don't know' and another answer* AND 'refuse
to answer' and another answer. I have successfully used
not(selected(., '999') and count-selected(.) > 1), but don't know how to
add in the 'refuse to answer' (666) within the function. Thank you for your
help!
What activity have you participated in? (SELECT ALL THAT APPLY).
I wanted to follow-up on the question above. I realized if I select
only 'don't know', then it says the response is invalid. However, if I
select only 'refuse to answer' it works. I still want to be able to select
multiple options, just not 'don't know' and anything else and 'refuse
to answer' and anything else together. Thoughts?
Hi, I have a question regarding validation rules for multi-select.
I would like to use the 'not select' logic to make sure that
participants cannot select* 'don't know' and another answer* AND 'refuse
to answer' and another answer. I have successfully used
not(selected(., '999') and count-selected(.) > 1), but don't know how to
add in the 'refuse to answer' (666) within the function. Thank you for your
help!
What activity have you participated in? (SELECT ALL THAT APPLY).