Side by Side Qs: can you create headers? | XM Community
Skip to main content
Is anyone able to add text in the area just above the categories in a side by side Questions? Please see the photo.





!
This option is listed as a Label under the matrix question type.

Hi there, if you still need, text can be added to that area by adding one of the below to the OnReady section of the question's JavaScript:
jQuery("#"+this.questionId+" td.c1:first").html("Label Text 1");

jQuery("#"+this.questionId+" td.c1.BorderColor:first").html("Label Text 2");
SBS_Headerlabel.pngI found it here. Also, if you want to group the statements under header rows, I put together some code in this post that might help.


Surveys4Fun you can simply paste below code inside javaScrit pad (Side Menu --> Question Behavior --> JavaScript) under addOnload() function.


jQuery (".Answers td:first-child").html("

Header Text

");

Replace "Header Text" with header name inside of that code.
Header1.PNG
PS. This will work correctly only if you are showing one question per page.


Leave a Reply