Advance from one text input widget to another one by using "Enter" key
in OpenSesame
Hello,
I have several text input widgets in an inline script form. I would like that participants can move on to the next widget by pressing the "Enter" key. I have tried this code, but python crashes:
text_input2 = TextInput(stub = '', var = 'recalledword_1', key_filter="Enter")
Another solution that I found in the forum is to use something like this, but I have the same problem with python crashing.
I am also trying with this function: text_input2.on_key_press("Enter") . But python is also crashing.
I would really appreciate your help with this :) Thank you!
Comments
Hi,
Isn't what you want solved by setting
return_accepts=True?Eduard