[solved] Saving text input variables in a loop for later use outside the loop
I'm using Opensesame for an experiment in which I let participants play several economic games. (followed by a spatial cueing task).
Participants have to divide money, which occurs through a tekst form (saying: how much money do you want to keep for yourself). There are 4 rounds of games, and each round consists out of 4 different games, 2 of which use a tekst form. So it's a loop within a loop.
In the end, I want to add up all the money they decided to keep. In other words, I want to use the tekst_input variable set in the loop outside the loop. However, when I'm using a feedback form, the tekst_input variable seems to have vanished (or been reset).
So how can I use the tekst_input form's variables outside their specific loops? simply adding an inline script saying exp.get("relevant_variable") doesn't work.
Free University Amsterdam