Checking number of characters in a textbox

PsychoPy version 2022 2.4
Hi everyone
I am quite a beginner on psychopy and I would like to check that participants entered at least 3 input characters in a textbox before moving to the next step (i.e. displaying a button to validate).
Any idea of how to achieve that?
I understand that means some coding, but I couldn’t find a sample experiment or codes.
Thanks
CB

min len.psyexp (10.7 KB)
Hi, would this be what you’re looking for?

1 Like

Hi
That is exactly what I needed!
Thank you very much for your hlep!!!
Cedric

1 Like