Loops and responses
I'm using the text input solution from this thread: https://forum.cogsci.nl/index.php?p=/discussion/4737/text-input-form-for-use-with-jatos#latest
In my experiment participants will see one word and have to respond with 3 words of their own.
e.g. stimulus word: banana participant responses: happy, sad, daffodil
I am using a loop to spit out the stimulus words and the multi-character response collector as above to collect the responses. I have given up trying to collect the 3 different responses in one form and as separate variables! Instead, I plan to show the same stimulus word 3 times sand collect on response each time. (I can collate them later in R)
e.g. stimulus word: banana participant response: happy
e.g. stimulus word: banana participant response: sad
e.g. stimulus word: banana participant response: daffodil
However, I can't work out how to use the loop in such a way that it lets the participant completely type their response and press enter before showing the next stimulus word.
Currently, it moves on to the next item every time a key is hit. I need it to do so only when the return key is hit, so that the response can be logged. Can anyone point me in the direction of how to do this?
NB: I will be using OSWeb to run the experiment, in case that is important to know!
Thanks for any pointers!!