@mattyb513, @PsychSurvey, @LaurenK, @TomG, thank you very much for your help!! The script provided by mattyb513 works for me too :) Again thanks a lot for your help. Much appreciated!
@LaurenK, many thanks for your help!
@LaurenK, do you know which program I can use to export qualtrics survey's?
Hi LaurenK, Thank you for your suggestion. I don't know what is, but apparently there is something wrong in my survey/script. I will share a QSF. Thanks again, Koen
@TomG I've tried the three scripts I mentioned in my post on June 2, unfortunately none of them worked.
@LaurenK, Thank you for your latest response. Unfortunately, also the scripts mentioned in the links in your response does not register responses (the second link does not even let me proceed to the next page). I'm still struggling with this puzzle, any help is appreciated.
No i'm not in review mode, I've distributed and completed the survey by anonymous link.
changing addOnload to addOnReady had no effect on registration of key-presses. Do you have another suggestion?
I've found three scripts on the internet. None of them worked. Script 1 Qualtrics.SurveyEngine.addOnload(function() { if ($('NextButton')) $('NextButton').hide(); if ($('PreviousButton')) $('PreviousButton').hide(); var that = this; Event.observe(document,'keydown',function(e){ var choiceID = null; if (e.keyCode == 76) //'l' was pressed { choiceID = 1; } else if (e.keyCode == 72) //'h' was pressed { choiceID = 2; } if (choiceID) { that.setChoiceValue(choiceID,true); that.clickNextButton(); } }); }); Script 2 Qualtrics.SurveyEngine.addOnload(function() { this.hideNextButton(); this.hidePreviousButton(); var that = this; Event.observe(document, 'keydown', function keydownCallback(e) { var choiceID = null; switch (e.keyCode) { case 72: // 'h' was pressed choiceID = 1; break; case 76: // 'l' was pressed choiceID = 2; break; } if (choiceID) { Qualtrics.SurveyEngine.setEmbeddedData("choice
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.