change labels for radio buttons on a rank order question? | XM Community
Skip to main content
Question

change labels for radio buttons on a rank order question?

  • September 6, 2023
  • 3 replies
  • 174 views

Forum|alt.badge.img+1

Hi,

I like to update the header labels for the radio buttons on a rank order question. Initially it has 1, 2, 3 on the header, how can I change it to 1st, 2nd, 3rd for the header?

 

Thanks,

Ying

3 replies

Forum|alt.badge.img+14
  • Level 5 ●●●●●
  • 276 replies
  • September 6, 2023

If you use a matrix question type instead of rank order, you should be able to say “1st”, “2nd...” etc. in the headers.


Forum|alt.badge.img+1
  • Author
  • 2 replies
  • September 7, 2023
ash123 wrote:

If you use a matrix question type instead of rank order, you should be able to say “1st”, “2nd...” etc. in the headers.

Hi Ash123, thanks for your answers, I know the matrix question type could do that (modify the header), but matrix could not prevent the duplicate responses, ranking question will do that (that means, statement1 choose 1, then other statements could not choose 1 until you change the answers to statment1).


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 357 replies
  • September 7, 2023

Hi,

Here’s the code for the first element.

Qualtrics.SurveyEngine.addOnReady(function()
{
	/*Place your JavaScript here to run when the page is fully displayed*/
jQuery('#'+this.questionId).find('th')[0].innerHTML= '1<sup>st</sup>';
});

 


Leave a Reply