How to repeat a block based on response in block

uhrxx005uhrxx005 Community Member Guru ✭✭

How to repeat a block based on response in block

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!

Answers

  • JenCXJenCX Broomfield, COCommunity Member, Product Ideas Wizard ✭✭✭✭✭

    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.

  • uhrxx005uhrxx005 Community Member Guru ✭✭
    edited October 14

    @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?

  • JenCXJenCX Broomfield, COCommunity Member, Product Ideas Wizard ✭✭✭✭✭

    @uhrxx005 Ah, right. I would suggest asking at the beginning how many programs they want to evaluate and then loop based on that number.

Sign In to Comment