Matrix Table constant sum with Total Box | XM Community
Skip to main content
Question

Matrix Table constant sum with Total Box

  • October 13, 2020
  • 2 replies
  • 16 views

Hello :)
I have a question regarding the matrix table with total box. Is it possible that the fields are empty before the participant sees the question (not as in the attached screenshot)?
I fear that this influences the participants...
Thanks!
Qualtrics.PNG

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • October 13, 2020

Here's a simple, but imperfect solution:
Qualtrics.SurveyEngine.addOnload(function() {
var inputs = jQuery("#"+this.questionId+" .ChoiceRow td input");
inputs.each(function() { if(this.value=="0") this.value=""; });
});
It is imperfect because it will overwrite entered zeros if the previous button is used to come back to the question.


  • Author
  • October 19, 2020

Thank you very much!
Have a good day :)