Daer all,
My first need was to display a pop-up window whenever a participant was selection “NO” to the question.
I have used this code that works well from this post:
Qualtrics.SurveyEngine.addOnReady(function () {
let relevant_choice = this.questionContainer.querySelectorAll("li")[0];
relevant_choice.onclick = function (click) {
let recall = confirm("Do you really want to share?");
if (!recall) click.preventDefault();
};
});
Now, I need to have the message that corresponds to the selected language. My survey is in French and German.
How can I have a specific message for each language?
- Should I code it in the Javascript block of code? If so, how?
- Should I call a “validation message” that I would have previously created in my library? If so, how?
Many thanks for your help and attention.
Best answer by Shashi
View original