Hello everyone,
I am trying to create a survey with a little tetris game (URL) within my Qualtrics Survey and would like to record the participants key presses, specifically the space-bar. For that I have created the iframe like this:
And in my Question, I have put the following javascript to record the spacebar presses:I have also added an embedded data field in the survey builder: "space_counter"
Unfortunately the code doesn't work with the iFrame and doesn't show up in the recorded data. (I tried it with other questions without an iFrame and it works fine)
How can I log the keypresses that are happening in the iFrame (tetris game)? Or is it technically impossible to solve?
Thank you so much for your help!
Logging Keypresses within iFrame - is it possible??

Leave a Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.