



Hi guys,
I am very new to Qualtrics and have been trying to incorporate these into my survey, however, no luck. I found somewhere that it could be because I am using a non-upgraded version, which would not allow these custom codes. Would that be the reason or is it me failing to install these correctly?
Any information would be much appreciated.
B.
TomG Can we add sliders label on left and right so like opposite words Happy>>>>>>SLIDER>>>>SAD
@Rock,
Yes, but it must be done with JavaScript. It is called a bipolar or AHP slider (AHP has a scale, bipolar doesn't). See: https://www.qualtrics.com/community/discussion/2201/analytic-hierarchy-process-in-qualtrics for an example.
https://community.qualtrics.com/XMcommunity/discussion/comment/10522#Comment_10522Hi, despite using this code, the labels are being applied to all slider questions on the page.
Do I need to change the question id in this code?
Anything else I can do to make it work?
Context: I need to add customized labels to each slider question (5-7 questions on a page).
https://community.qualtrics.com/XMcommunity/discussion/comment/39857#Comment_39857The code in that post only applies to the current question. If it is applied to all questions on the page it is coming from some other JS or CSS style.
https://community.qualtrics.com/XMcommunity/discussion/comment/10522#Comment_10522Thanks TomG , great solution.
Although I would add on that the css selector passed into .insertAfter() method has to be specific to the questionId. So instead of:
labels.insertAfter("div.slider-container");
we should use:
labels.insertAfter("#"+this.questionId+"div.slider-container");
https://community.qualtrics.com/XMcommunity/discussion/comment/42129#Comment_42129No, that is unnecessary. In the code above, labels is already specific to the question.
https://community.qualtrics.com/XMcommunity/discussion/comment/42130#Comment_42130When i use
labels.insertAfter("div.slider-container");
I getThe ul.labels got inserted multiple times.
But if i use:
labels.insertAfter("#"+this.questionId+"div.slider-container");
I get
https://community.qualtrics.com/XMcommunity/discussion/comment/42131#Comment_42131That’s because you didn’t set labels as in my accepted answer post above.
https://community.qualtrics.com/XMcommunity/discussion/comment/42133#Comment_42133I did for both questions. The ul.labels will get duplicated.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.