Add a comment box after matrix table | XM Community
Question

Add a comment box after matrix table

  • 27 June 2020
  • 1 reply
  • 217 views

Hi all,
I have made a matrix table, but would like a box for comments after the table that is not attached to any of the answers, but is still within the same question.
I would also like to be able to do this after a multiple choice question. Is this possible?
Thank you in advance.


1 reply

Userlevel 7
Badge +22

The best approach is to create a new text entry question below matrix question.
If you want this new question to appear as a part of the matrix question then just do not write anything in question text i.e. just put a space.
If you want to reduce the gap between matrix and new text entry question, then paste below code in the JS of text entry/comment question.
jQuery("#"+this.questionId+" .QuestionText").css("padding","0px").hide();
Same for multi choice question.

Leave a Reply