Can OR be used in the Survey 123 constraint field?

851
3
06-01-2018 07:08 AM
Highlighted
New Contributor III

Can OR be used in the Survey 123 constraint field in order to prevent the response to one question being the same as the response to other questions?

I have the survey questions 'Select the most abundant', 'Select the 2nd most abundant', and 'Select the 3rd most abundant'. I'd like to constrain the response to the 2nd and 3rd most abundant questions so that users cannot choose a response they selected for the previous question. 

.!=${mostabundant} seems to prevent the 2nd most abundant response from being the same as the most abundant answer.

.!=${mostabundant} or .!=${2ndabundant} however does not achieve the desired response; the 3rd most abundant can be the same as either the most or 2nd most abundant answer. 

Reply
0 Kudos
3 Replies
Highlighted
Regular Contributor

Hi Alicia, 

Have you tried using 'and' instead of 'or'? 'and' tends to be more restrictive than 'or'.

Carmel

Reply
0 Kudos
Highlighted
New Contributor III

No luck with 'and' either unfortunately.

Reply
0 Kudos
Highlighted
Regular Contributor

Hi Alicia, 

Attached is the form I tried with - I can't submit a form if an answer for Q3 has been selected in the previous questions. 

Are you able to upload your form?

Carmel