Hi everyone,
I’ve got an online experiment in which participants see an object and type in a name or description (using editable textbox). I want a character limit of 50. This works locally without issue using the following code:
The Auto>JS option produces the following Java code for this:
However, running this online has a weird bug whereby when the 50 chars is reached, the cursor moves back to the start. Any further text input overwrites what was initially there, but also starts mixing up the order of input. For example, here is what happens when I type in ‘ball’ repeatedly:
Once the character limit is reached:
I have tried changing the Java code to subset rather than slice but that produced the same effect.
Really grateful for any help anyone can give.