Trying to use custom code for a Matrix Table question? | XM Community
Skip to main content
Solved

Trying to use custom code for a Matrix Table question?

  • June 10, 2022
  • 2 replies
  • 21 views

Forum|alt.badge.img+2

Does anyone know if custom code could be used in a survey to make the "Overall/Unable to Answer" choice in the image below disappear? I have absolutely no idea if this could be done and if so, how to accomplish it. Any guidance would be greatly appreciated! Thank you in advance. :)
Qualtrics Community.jpg

Best answer by TomG

Yes:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" tr.bottom td.last").find("*").hide();
});

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • June 10, 2022

Yes:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" tr.bottom td.last").find("*").hide();
});


Forum|alt.badge.img+2
  • Author
  • June 10, 2022

Thank you so much Tom! It worked beautifully - You made my day!