Lock in first answer for multiple choice questions? | XM Community
Skip to main content

Hello! I appreciate you checking out my post.
I want to make multiple choice questions which, once a participant clicks their answer, can't be changed (since I want their first instinctive response rather than after they have second-guessed it). Is this lock-in-first-answer situation possible with Javascript code?
Thank you very much!

Yes:
Qualtrics.SurveyEngine.addOnload(function() {
var inputs = jQuery("#"+this.questionId+" input[type=radio]");
inputs.click(function() { inputs.prop("disabled",true); });
});


Thank you so much TomG ! I really appreciate you taking the time to answer my question and resolve what would have been a major problem for my project. I hope you have a great day! :D


Leave a Reply