Letters above slider instead of numbers | XM Community
Solved

Letters above slider instead of numbers

  • 27 August 2020
  • 2 replies
  • 61 views

Badge

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!

icon

Best answer by TomG 27 August 2020, 23:10

View original

2 replies

Userlevel 7
Badge +27

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]); });
});

Badge

TomG Thank you!

Leave a Reply