Hiding matrix rows if piped data text is empty | Experience Community
Skip to main content
Question

Hiding matrix rows if piped data text is empty

  • February 26, 2026
  • 1 reply
  • 11 views

Forum|alt.badge.img

Hi Qualtrics Community,

 

I have a matrix table question where each row label is formatted as “Name1 vs Name2” ( these names are piped data from previous participants responses. For each pair, I have two text entry values from different questions:

  • ${q://QID20/ChoiceTextEntryValue/1} (and up to 10 for QID20)
  • ${q://QID11/ChoiceTextEntryValue/1} (and up to 10 for QID11)

But participants don't need to  mention all 10 names for each question. 

I want to use JavaScript to hide a matrix row if both or one of corresponding text entry values (for Name1 or  Name2) are not present (i.e., empty).

Can anyone create a code for this, struggling to make it work? 

 

Thank you!

 

1 reply

vgayraud
QPN Level 7 ●●●●●●●
Forum|alt.badge.img+61
  • QPN Level 7 ●●●●●●●
  • February 27, 2026

Hi,

You can use the platform’s choices display logic. It should look like this: