I am trying to have a retake link where some of the questions and selected answers can be viewed but not edited.
I know how to skip questions completely in the retake, and I can show or hide questions based on the retake link. But I cannot figure out how to in the retake link show some of the questions and selected answers, but read-only.
I think it's possible with javascript but I have all sorts of question types - multiple choice, text entry, dropdown, file upload.
For example, imagine that a student takes a test in Qualtrics, and the professor is reviewing that test and putting comments in a new text entry question at the bottom for students. I don't want the professor to accidentally change any of the students' answers. - (Please note that this is just an example scenario to get the idea across).
Thanks!
Retake Response: Some questions Read-Only? JavaScript?
Best answer by ahmedA
Something like this could probably work for you:
Create an embededd variable at the start of the survey, but do not give it any value. Lets call it
retake.
When sending the links to the professors, add
retakeas a URL query parameter (see the support pages for details). With a value to lets say
yes.
To all your comment questions, add display logic to be only visible when
retake=yes.
In the questions intended for students, add this JS to ensure that profs don't change the values, it will only be triggered if
retakeis
yes:
Qualtrics.SurveyEngine.addOnReady(function () {
let rt = "${e://Field/retake}",
quest = this;
if (rt == "yes") {
quest.questionContainer.style.pointerEvents = "none";
quest.questionContainer.onkeydown = function (e) {
e.preventDefault();
};
}
});
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
