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

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

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


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).


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