Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

How to add a label to each slider using JavaScript (or another solution)

SophieMQ
SophieMQ SydneyCommunity Member Qubie ✭

I have one block with many sliders for 94 statements. Qualtrics only lets me add labels to the top slider but I would like the same two labels (on either side, representing 1 and 100) repeated for every slider. I've seen that you can implement this using Javascript but I haven't been able to find the actual code anywhere. Any help would be much appreciated 😀.

Answers

  • rondev
    rondev Community Member Wizard ✭✭✭✭✭

    You can use the below JS to repeat the slider numbers (copy and paste the same line and change the number 3 as needed):

    jQuery(".labels-container").clone().appendTo(".slider-container:eq(3)");