Hi everyone,
I found this code to advance by pressing "enter", and wrote it on specific questions.
But after the first time the subject press Enter to move forward, in all questions s.he can move forward by Enter. Even when I do not want the subject to be able to proceed in this way, and the code is not written there.
Maybe someone knows how to deal with it?
many thanks!
Qualtrics.SurveyEngine.addOnload(function() {
var qid = this.questionId;
document.onkeydown = function(event) {
console.log('keydown',event);
if (event.which == 13) {
event.preventDefault();
jQuery('#NextButton').click();
}
}
});
Best answer by TomG
View original