Answered

Skip logic that can be used based on number of responses chosen (not content of the responses)?

  • 9 August 2022
  • 3 replies
  • 39 views

If I have "select as many as you want" multiple choice question but want people who only select only one response (no matter which one they choose) to go to question 2 and those who select more than one response to go to question 3?

Example:
1. Which pets do you have?
Dog
Cat
Fish
Bird
Other

[IF ONE SELECTION GO TO Q2; IF MORE THAN ONE SELECTION THEN SKIP Q2 AND GO TO Q3]

Do I have to go through the list of options and create rules that would apply to every imaginable combination? For the actual survey, I’m working a list of 9 responses, so that seems daunting. 

 

icon

Best answer by john.desborough 10 August 2022, 03:46

View original

3 replies

Userlevel 7
Badge +6

@Kelso - i think you could get away with creating a variable called count and adding 1 to if for each answer selected in the logic rules.. something like this, as long as you set the minimum selection to 1:

  • if q1 = a add 1 to count
  • if q1 = b add 1 to count
  • if q1 = c add 1 to count
  • if q1 = d add 1 to count
  • if q1 = e add 1 to count
  • if count is greater than 1 go to q3 
  • if count is = 1 go to q2 
  • then on q2 you put in the logic path for the user to go if they are supposed to avoid q3 now.. 

Perfect -- it worked beautifully. 

Userlevel 7
Badge +6

@Kelso - glad to hear.. cheers

des

Reply