URL of experiment: Pavlovia
Description of the problem: Hi there, we’re generating a random code for each participant which is shown in the closing message. We struggle to understand how we can adjust this code in the closing message based on the ExpInfo so that we can immediately see in this random code whether the participant wants course credit or a voucher. The if-statement for that itself is not the problem, rather the order in which functions seem to be used.
As far as we understand the closing message is generated before anything else happens (even before the expInfo is updated) in the experiment so that our little if statement referring to the exInfo doesn’t work. Is there a way to change that order of the flow?
Would really appreciate your help.
All the best,
Anna