Can I add a new row to Matrix table only if the previous statement with text entry is filled? | XM Community
Skip to main content

Hi
In my survey, I have a question that is completed using a Matrix table with a set number of statements, Likert type, & allowing multiple answers.
The last option in the statement is "Other (please specify)" with "Allow Text Entry" specified.
Is there any way to automate this so that if the respondent does enter something in this last "Other" statement, another row appears that says also says "Other (please specify)" with text entry allowed. Ie, so that if a respondent does enter something, they can enter something else in the new row, but so that not all respondents have to see multiple "Other" rows if they aren't going to enter anything.
I hope that is clear & appreciate any help!

EDIT: I tried to solve this using "Display logic" for the specific statement, but I can't seem to do in page display logic

Unfortunately, that is not possible, but this can be a great product feature to have. You can probably share these details as a product feature for future enhancements.


You could create a Matrix with multiple Other rows and use JS to hide all but the first one. Then reveal an additional row when the previous row is answered.


That will be one complicated Jquery :-D


Thank you, both. My JS isn't good enough to write that code unfortunately - I'm not really sure where to start.


Leave a Reply