Add a dollar sign to a sliding scale question | XM Community
Skip to main content
I would like to add a $ sign to the scale so that people know it is $0-$20. How do I do this?

 

Hi,

You can add this to your question’s custom javascript:

Qualtrics.SurveyEngine.addOnReady(function () {
const ulElement = document.querySelector('#' + this.questionId + ' .numbers') || document.querySelector('#question-' + this.questionId + ' .numbers');
if (ulElement) {
const listItems = ulElement.querySelectorAll('li');
listItems.forEach(li => {
li.textContent = '$' + li.textContent.trim();
});
}
});

 


Leave a Reply


OSZAR »