I’m going to recruit participants from mturk/prolific, then use qualtrics to generate a participant ID, pass this to psychopy/pavlovia then at the end of the experiment, display their participant ID for them to enter as a completion code. I can pass the code from qualtrics to psychopy/pavlovia by I can’t seem to display the participant ID.
What did you try to make it work?:
I’ve added a routine with a text block:
and the following in a code component:
msg = "You have now finished. MTURK CODE:" + expInfo['participant'];
What specifically went wrong when you tried that?:
In PsychoPy I get the message "NameError: name ‘msg’ is not defined, and in Pavlovia, I get a screen that displays “Hello World”, not the message I’m trying to display.