How to repeat a block based on response in block | XM Community
Skip to main content
Hi All,



I have a block that has questions for evaluation a program. The last question in the block asks if they would like to evaluate another program (Yes/No). If they say yes, I would like to repeat the block and collect info on program 2. Ideally I would like this to work an unlimited number of times.



What would be the best way to set something up like this?



Thanks in advance!
You have it in your tags! You'll want to use a Loop and Merge and loop it based on a question. Alternatively, you can loop based on a number and ask how many programs they want to evaluate at the beginning.
@JenCX, I tried loop and merge and I cannot get it to work correctly working because looping based off a question only works if the question is before the block, not in the block. Any other ideas?
@uhrxx005 Ah, right. I would suggest asking at the beginning how many programs they want to evaluate and then loop based on that number.

Leave a Reply