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

JavaScript for keyboard use with multiple choice question

  • November 20, 2023
  • 1 reply
  • 35 views

Forum|alt.badge.img+2

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!

Best answer by ddtud

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

View original

1 reply

Forum|alt.badge.img+2
  • Author
  • 1 reply
  • Answer
  • November 20, 2023

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