Loop and Merge to iterate backwards on question fields | XM Community
Skip to main content

Hello!
I am designing a survey where I want the participants to select all the challenges they solved in an educational event. This survey question looks exactly like the event's website so that the participants can easily remember which challenges they had solved. The challenge difficulty increases with the number, eg: challenge 2 is harder than challenge 1, and so on.
After this, I want to drill down on a few of the highest-score challenges they selected. Essentially if they selected 1, 4, and 5, I want to ask more questions on 5 and then 4. I was thinking of using loop and merge, but it only iterates on question fields from 1-5, whereas I want it to go backward on the selected responses ie 5-1. I am thinking maybe this would need some custom coding, but I am not sure how to go about it.
Any help here is appreciated!

You can create a hidden mc question between your first question (challenges 1-5) and the loop & merge block. Reverse the choice order (5-1) and use display logic on all the choices based on what they answered in the first question. Use JS to hide the question and click Next. Base your loop off displayed choices in the hidden question.


Oh that might actually work. Thank you so much TomG!


Leave a Reply