How to cause an error/validation issue when someone selects two exclusive options in two questions | XM Community
Skip to main content

Hello!
I am trying to make my qualtrics survey force an error/validation if an individual selects the two exclusive options in my first two questions. The questions are:

  1. Please select which Individual Award(s) you are nominating.

  2. None (exclusive)

  3. Option 1

  4. Option 2

  5. etc. (19 total options, plus "None (exclusive)"

  6. Please select which Group Award(s) you are nominating.

  7. None (exclusive)

  8. Option 1

  9. Option 2

  10. Option 3

  11. Option 4

I want it so if someone selects the "None" option in BOTH of these, it gives them an error message and doesn't let them proceed. I work on a college campus so I know we'll probably get a few folks trying to be funny, and we want to be funny back with a custom message.

You can do a custom validation the looks at two different questions.

Screen Shot 2022-09-15 at 3.37.57 PM.png


Radam That doesn't seem to work. Basically what I want is that selecting the "None" option in both questions should be considered a Failed validation, but selecting "None" in one but NOT the other is fine. The Custom Validation screen only lets you set up what conditions allow a Pass. That's what is tripping me up.


You can create branch logic in Survey Flow, and create customer end of survey message if these criteria are met.


InessaG I don't want them to get to the end of the survey by selecting those options. I want it to stop them at that first page and not let them proceed.


https://community.qualtrics.com/XMcommunity/discussion/comment/49593#Comment_49593Change the OR to a AND in my example above.

If Q1 = none AND Q2 = none -> fail validate


Radam The custom validation only sets up a pass validation. If I do this, that makes selecting "none" on both the only option that DOESN'T cause a validation error.
Screen Shot 2022-09-16 at 10.09.56 AM.png


https://community.qualtrics.com/XMcommunity/discussion/comment/49619#Comment_49619Sorry, change the last statement from "is selected" to "is NOT selected".

If Q1 != none AND Q2 != none -> pass validate


Radam So I tried that both in the same logic set and in different logic sets, and it is failing validation if either of the "none" options is selected along with a numbered option in the other category. The only "pass" is if a numbered option is selected in both categories.


How about this? I briefly tested and it seems to work...

Screen Shot 2022-09-16 at 10.25.12 AM.png


https://community.qualtrics.com/XMcommunity/discussion/comment/49624#Comment_49624Thank you!!


My pleasure!


Leave a Reply