Hiya!
I'm trying to get a rank order drag-and-drop question to display the default ranking numbers on the answers before a respondent starts dragging them. I haven't found any settings or custom code for doing that yet. Help?
Here's the question before it's been interacted with:
And here it is after any drag-and-drop interaction:
I want the blue numbers showing when the question is first presented. Thank you!
Page 1 / 1
Qualtrics.SurveyEngine.addOnReady(function () {
this.questionContainer
.querySelectorAll("span.rank")
.forEach((item) => (item.style.visibility = "visible"));
});
Perfect solution! Thank you so much for sharing this code, ahmedA !
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.