psychopy.org | Reference | Downloads | Github

Email as an input

Hi,

I wonder how can I modify my text input code in order to visualize the symbol @ on the screen when my participants indicate their email.

I tried
if ‘@’ in keys:
…email.text = email.text+ ‘@’

and
if ‘At’ in keys:
…email.text = email.text+ ‘@’

but it is not working.