Hi Oli, thanks. Here are all the details:
I’m working within a routine called age (see screenshot).
The routine consists of (top to bottom): code_3, text_16, ageInput, text_19.
Here are the screenshots of the code component:
Screenshot of text16:
Screenshot of ageInput:
Screenshot of text_19
When I run the exp and try to enter an age, press delete a bit, then press return, it quits the whole experiment and says there’s an error in a line of code:
NameError: name ‘trials’ is not defined
Also, the numbers do not appear on screen, and no age info is saved in the outputted data file.
Unlike the previous person you helped, I’m not looking to tell participants about right or wrong answers. I just want them to be able to see and edit the numbers they type on screen (w/o leaving full screen mode)