I am looking for a way to limit the length of responses a participant can type into a textbox. In the task I am working on, they need to be able to only type up to 2 characters, with a minimum of 1.
I have an “each frame” code setup to limit what buttons they can respond with (numerical keys). Is there a way to code for if textbox.length < 2 stop inputting?