Add Statement Label to a Matrix Question | XM Community
Skip to main content
Solved

Add Statement Label to a Matrix Question

  • March 31, 2020
  • 3 replies
  • 660 views

chaz
Forum|alt.badge.img+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. !

Best answer by TomG

See: https://www.qualtrics.com/community/discussion/593/how-can-i-add-text-above-the-statements-in-a-matrix-table

3 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • Answer
  • March 31, 2020
See: https://www.qualtrics.com/community/discussion/593/how-can-i-add-text-above-the-statements-in-a-matrix-table

chaz
Forum|alt.badge.img+3
  • Author
  • 12 replies
  • April 7, 2020

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?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • April 7, 2020

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