
Solved
How do I make codes mutually exclusive across 2 multi response questions?
Hi team,
My client asked me to set up a multi response question in 3 columns and add a ‘Prefer not to answer’ and ‘None of these’ separately to the question. So I set up 2 multi response questions, one with the brands and the other with ‘Prefer not to answer’ and ‘None of these’. I have also set up a validation so that you can only select one or more brands OR ‘Prefer not to answer’ OR ‘None of these’. Please see screenshot below.
Now I wondered whether there is a way to un-select the selected brands if ‘Prefer not to answer’ OR ‘None of these’ is selected. Or un-select ‘Prefer not to answer’ and ‘None of these’ if a brand is selected so that they become mutually exclusive. Essentially they should behave like a normal multi response question where ‘Prefer not to answer’ and ‘None of these’ are set up as ‘make answer exclusive’.
!
It would be great if you could have a look into this.
Thank you so much!
Kai

Best answer by TomG
> @Kai said:
>
> I wondered however if there is another way of making them exclusive with javascript?
Yes, you could do this with JavaScript:
1. Script on first question would unselect choices in second question if any choices are selected
2. Script in second question would do two things. First, remove question separator and white space from top of question. Second, unselect choices in first question if any choices are selected
3. A custom validation rule would check that at least 1 choice is selected in either the first or second question.
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.