Number input by keyboard

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 1.84.2
Standard Standalone? (y/n) If not then what?: Y
What are you trying to achieve?: number input from keyboard

What did you try to make it work?:
I first tried to solve this problem with the keyboard input component but it didn’t go well.
But actually I have no idea about how to achieve this…
image
I am displaying two numbers and requiring participants to type their answer (sum of the two numbers.) And finish typing their answer by pressing the enter key… (not finishing the program, to pass to next question)

What specifically went wrong when you tried that?:

I notice you’re using quite an old version - if you update to the newest version of PsychoPy we have an editable Textbox :textbox: component which does exactly what you’re trying to do

Thank you!! I’ll try the later version. I was using the old version because my prof required me to do so -