JavaScript for keyboard use with multiple choice question | XM Community
Skip to main content

Hi all! I have a question on how to use keys to answer multiple choice questions. I noticed a few discussions on the topic, but the solutions did not work in my case.

I have a number of timed multiple-choice questions. Respondents should choose between “Same” or “Different” within 7 seconds. Each question is in a block with a timer and the question itself. It is also important the the time (and the response) are recorded, as it currently is the case with mouse clicks. Any help is appreciated!

Actually, I figured it out: it seems that keyboard inputs do not work in Preview mode, but they do in Published mode. 


Leave a Reply