Hi everyone! Thank you very much for your previous help!
I would like to do a survey that contains a training session. In the training session, I play an audio file and ask a question. What I want to add is feedback, that appears in front of the participants once he/she clicks on one of the answers (meaning- saying that the answer is true/false after they press on the answer). Is there a way of doing so in Qualtrics?
Thank you very much!
Page 1 / 1
Hi @Dana_Plaut,
something like this?
Qualtrics.SurveyEngine.addOnload(function()
{
this.questionclick = function(event, element) {
if(element.type == "radio")
{ selectedRecode = this.getChoiceRecodeValue(this.getSelectedChoices());
if(selectedRecode == 1) {alert("correct");}
else{alert("wrong");}
}}
});
something like this?
Qualtrics.SurveyEngine.addOnload(function()
{
this.questionclick = function(event, element) {
if(element.type == "radio")
{ selectedRecode = this.getChoiceRecodeValue(this.getSelectedChoices());
if(selectedRecode == 1) {alert("correct");}
else{alert("wrong");}
}}
});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.