How to repeat a block based on response in block | XM Community
Question

How to repeat a block based on response in block

  • 11 October 2019
  • 3 replies
  • 99 views

Userlevel 6
Badge +5
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!

3 replies

Userlevel 7
Badge +11
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.
Userlevel 6
Badge +5
@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?
Userlevel 7
Badge +11
@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