Letters above slider instead of numbers | XM Community
Skip to main content
Solved

Letters above slider instead of numbers

  • August 27, 2020
  • 2 replies
  • 134 views

Forum|alt.badge.img

I would like to have a slider question, with response options, or values, of A, B, C, D, and E instead of 1, 2, 3, 4, and 5. Is there a way to do this? I've seen similar things done through JS. Thanks!

Best answer by TomG

Try this:
Qualtrics.SurveyEngine.addOnload(function() {
var letters = [" A "," B "," C "," D "," E "];
jQuery("#"+this.questionId+" ul.numbers li").each(function(i) { jQuery(this).html(letters[i]); });
});

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • August 27, 2020

Try this:
Qualtrics.SurveyEngine.addOnload(function() {
var letters = [" A "," B "," C "," D "," E "];
jQuery("#"+this.questionId+" ul.numbers li").each(function(i) { jQuery(this).html(letters[i]); });
});


Forum|alt.badge.img
  • Author
  • August 27, 2020

TomG Thank you!