I need to create a survey where someone can come and register users (name, email address) and purchase a membership for each user. The price will depend on how many users they register. I need to give the user the option to loop back through and add more, and I need to keep track of how many times they have done it, so I can calculate the price.
So my loop would be:
- Enter Name
- Enter email address
- Would you like to add another? (If yes go back to 1. If no go to 4.)
- You have entered Y users, so the price is Y x £5 = £15
I’ve created a basic flow where I can get the survey to loop back and allow them to enter multiple users, and I created a Variable to track how many times they do that - I have a rule on step 2. that says ‘Always ADD 1 to @counter’. However when I get to step 4 it always just shows 1 in the @counter variable. It seems to reset the variable every time you loop back through.
Any suggestions on how I can do this?