Collecting text answers problems

I need to collect text responses from participants, but I’m having issues with PsychoPy’s TextBox component. When participants press Shift while typing their answers, it accidentally triggers the next routine instead of just typing. Are there alternative input methods or components I can use that won’t have this keyboard conflict problem?

Thanks

Hello @Shaimaa

How do you finish the routine? Do you have a keyboard component in addition to the text box? I usually end a routine with a textbox by clicking the mouse.

Best wishes Jens

Yes, I have a keyboard component that listens for the SHIFT key to end the routine. The problem is that when participants are typing their text responses and press Shift (for capital letters or symbols), it accidentally triggers the keyboard component and moves to the next routine before they’re finished typing.

I could switch to using mouse clicks to end the routine like you suggest, but I’m wondering if there are better text input alternatives that don’t have this keyboard conflict issue. The current setup is problematic because participants naturally use Shift while typing, which interrupts their text entry.

Do you have any recommendations for text input methods that avoid this kind of keyboard interference?

Hello @Shaimaa

So, the program behaves as it was programmed to do. What about switching to enter/return from shift? You could also use a key from the num-pad which are preceded by num_

Best wishes Jens