Hi @eylul, I have put together a demo that writes user input on screen, it is similar to your task. It works in native (local) and online PsychoPy. Take a look at the task running at [1], and download a copy for yourself at [2]
[1] https://run.pavlovia.org/demos/textinput/html/
[2] https://gitlab.pavlovia.org/demos/textinput