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

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

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!


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";


Leave a Reply