Hello
I am building an experiment that involves repeated trials where I provide 3 input numbers (VAR1, VAR2, VAR3) that are each a random number between 1 and 25. An output is calculated on the subsequent page.
For each trial, I would like VAR1, VAR2 and VAR3 to recalculate as newly generated numbers. I would like to save these as well as the subsequent page of model output for each trial.
When I use the loop and merge function at the moment however, every trial is still showing the same original VAR1, VAR2, VAR3 calculated.
How do I get these to dynamically update instead?
Thank you
Solved
How do you dynamically update variables in a loop
Best answer by TomG
Pipe them into the loop & merge fields like:
Field1 Field2 Field3
1 ${e://Field/VAR1_1} ${e://Field/VAR2_1} ${e://Field/VAR3_1}
2 ${e://Field/VAR1_2} ${e://Field/VAR2_2} ${e://Field/VAR3_2}
...etc...
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
