Code for hiding matrix table labels | XM Community
Skip to main content
Solved

Code for hiding matrix table labels

  • December 2, 2024
  • 3 replies
  • 57 views

Forum|alt.badge.img+1

Does anyone know how to hide the scale labels for a matrix table (without eliminating the choices themselves)? [the goal is to make it appear to the survey respondent like these items are a continuation of the prior question,  which has the same scale, without a break] 

 

Best answer by vgayraud

Hi,

Qualtrics.SurveyEngine.addOnReady(function()
{

jQuery('#' + this.questionId + ' th[role="columnheader"]').css('display', 'none');

});

 

View original

3 replies

  • Level 4 ●●●●
  • 216 replies
  • December 3, 2024

Just delete the characters and leave a space. 


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+49
  • QPN Level 6 ●●●●●●
  • 397 replies
  • Answer
  • December 3, 2024

Hi,

Qualtrics.SurveyEngine.addOnReady(function()
{

jQuery('#' + this.questionId + ' th[role="columnheader"]').css('display', 'none');

});

 


Forum|alt.badge.img+1
  • Author
  • 1 reply
  • December 3, 2024
vgayraud wrote:

Hi,

Qualtrics.SurveyEngine.addOnReady(function()
{

jQuery('#' + this.questionId + ' th[role="columnheader"]').css('display', 'none');

});

 

That works perfectly. Very, very helpful.  Thank you!!


Leave a Reply