Add Statement Label to a Matrix Question | XM Community
Solved

Add Statement Label to a Matrix Question

  • 31 March 2020
  • 3 replies
  • 247 views

Userlevel 1
Badge +3
Hi, I am looking to add a heading at the intersection of the Statements and the Scale Description. Not sure if this is clear so I have attached a picture. I want to have something where I placed the "X". Thanks in advance.

!
icon

Best answer by TomG 31 March 2020, 20:51

View original

3 replies

Userlevel 7
Badge +27
See: https://www.qualtrics.com/community/discussion/593/how-can-i-add-text-above-the-statements-in-a-matrix-table
Userlevel 1
Badge +3

Thanks TomG, Sorry for the late response. It appears to be what I was looking for. I will give you credit for answering my question even though, since I do not know Javascript, not sure how to utilize it. I play around and see what happens. Did I add points?

Userlevel 7
Badge +27

chaz said:

...since I do not know Javascript, not sure how to utilize it.

Click on the cog to the left of the question, then Add JavaScript. Put the line of code inside the addOnload function and change "Label Text" as needed:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" td.c1:first").html("Label Text");
});

Leave a Reply