Bipolar sliders | XM Community
Question

Bipolar sliders

  • 18 April 2024
  • 1 reply
  • 36 views

Badge +1

Hello,

 

I am desperately trying to turn my sliders into bipolar. I would like mine to look like this:

 

 

I’ve tried everything in this post (

)

 

But nothing is working.

 

What am i doing wrong?

 

I have ABSOLUTELY no experience with JS. What should I do?

 

Thank you


1 reply

Userlevel 4
Badge +12

Hi @QualtricsDude Copy paste the below code.

Qualtrics.SurveyEngine.addOnload(function()
{
jQuery(".statement-container div").eq(0).append("<span style='float: right;'> right side text 1 </span>");
jQuery(".statement-container div").eq(1).append("<span style='float: right;'> right side text 2 </span>");
jQuery(".statement-container div").eq(2).append("<span style='float: right;'> right side text 3 </span>");
/*Place your JavaScript here to run when the page loads*/

});

this is currently for 3 sliders only but if you want more then copy paste the same thing and change the right label text accordingly.

Leave a Reply