Remove scale points for specific statements in matrix table? | XM Community
Skip to main content
Question

Remove scale points for specific statements in matrix table?

  • October 13, 2019
  • 2 replies
  • 269 views

Hi, I was just wondering if there is a way to remove scale points (e.g., 6th column or N/A option) from a matrix table for specific questions/statements? For clarity, the matrix table I want would have blank spaces where those scale points would normally be. Thanks for any assistance! Chris.

2 replies

Kalkausm
Forum|alt.badge.img
  • October 16, 2019
I just did this today. Paste the following into the JS section of the question this is for. $('QR~QIDa~b~c').up('td').childElements().invoke('hide'); a=Question QID b=Row # c=Col #

Forum|alt.badge.img+8
  • Level 2 ●●
  • January 15, 2020
@Kalkausm said: > $('QR~QIDa~b~c').up('td').childElements().invoke('hide'); I was able to get this to work in a traditional matrix table, but it seemed to break for a matrix table in which the choice rows used display logic. I assume the javascript is getting confused when choice rows are hidden due to the display logic where, say, Row 5 may actually appear as Row 1 when first 4 were hidden.