Trial-wise feedback on the key pressed (keyboard response)
In my experiment, after each trial I want to give a feedback concerning the exact response button pressed by the participant (disregarding the accuracy of the response).
To do that, I created a sketchpad item containing a text [response] to call the response variable, and I have put it at the end of my trial sequence, before the logger; like indicated here: https://osdoc.cogsci.nl/2.9.0/usage/feedback/
However, this does not work. I have a welcome screen at the beginning of the experiment - a sketchpad with text, duration=keypress. The feedback after the first trial refers to the response given to the welcome screen (e.g.space). The feedback after the second trial refers to the response given to the first trial etc... To put it simply, the feedback n refers to the response given on n-1 trial. Obviously, I don't want that ;)
When I deleted the welcome screen, the procedure does not start and the following error appears:
The experiment did not finish normally for the following reason:
- The variable 'response' does not exist. Tip: Use the variable inspector (Ctrl+I) to see all variables.
I have checked the variable inspector, and the response variable is there.
I guess this issue is very simple, but I cannot overcome it ;) Could anyone give me a hint?
Below I attach the structure of my experiment: