Change the maximum amount of the slider scale point to "more than" | XM Community
Skip to main content

Change the maximum amount of the slider scale point to "more than"

  • October 20, 2022
  • 2 replies
  • 149 views

Forum|alt.badge.img+1

Hello,
I have an income question using a slider that goes from 0-150,000, I want to change the maximum amount of the slider scale point to "more than $150,000" instead of "150,000", Is there a way to do that?

Thank you

2 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • October 20, 2022

Kareman_Yassin
You can include the below within Javascript, just change the QID as per your question:
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
document.getElementById("QID6").querySelector("li.last").innerHTML="more than $150,000";
});


Hope it helps!


Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • 909 replies
  • October 20, 2022

Hi there, neat code! You could also do it without coding in the QID by using the below:
document.getElementById(this.questionId).querySelector("li.last").innerHTML="more than $150,000";