Can I make a matrix question collapsible by statement group? | XM Community
Skip to main content
Question

Can I make a matrix question collapsible by statement group?

  • June 3, 2022
  • 1 reply
  • 76 views

I have a matrix question with several groups of statements. I would like to collapse each statement group, so you can expand just one group at a time. Is this possible? I don't have a lot of experience using JavaScript.

1 reply

grahulp5
QPN Level 3 ●●●
Forum|alt.badge.img+13
  • QPN Level 3 ●●●
  • July 12, 2022

Yes you can, but for this you will need new look & feel (CSS) as well.
The trick would be to hide all the radio/checkboxes in the row and to show only when clicked on the row i.e, the th part of the span tag (just try using console and you should be able to do it), then using on click if it's click show else hide.