I have implemented a text input field in my online masked priming experiment as suggested above. The text input field is available during breaks for subjects to answer a given question; their answer is recorded in the output file in the column
Answer. After giving the question, the subjects are supposed to continue on the original task (that is, a lexical decision task) by pressing either
j (non-word and word, respectively).
It works fine, however I noticed that all keys are available right after the question and the text input field is given, even for actual trials (i.e., letter strings to make lexical decisions on). What happens is that subjects type in their answer, press ENTER to get back to the lexical decision task, and, if they accidentally hit one of the other keys than
f/j, those keys will be recorded in the output file in the
Answer column (even though there was no question asked).
I hope the description above is clear enough. I was wondering if there was a way to refrain the keys (other than
f/j) from being active during the presentation of the actual task so as to avoid storing of unwanted responses in the output files.