Disable text entry for Matrix Column | XM Community
Skip to main content
Solved

Disable text entry for Matrix Column

  • March 28, 2024
  • 2 replies
  • 183 views

Forum|alt.badge.img+2

So I have a Matrix question with 2 columns of constant sum text boxes.

I have set default choices to be displayed in all 9 rows of the first column and I want to disable text entry in that column so that respondent is not able to change those numbers.

 

I have this code but I am unable to rewrite it to only disable the 9 rows of the first column

jQuery("input[type='text']").prop("disabled",true);  

Best answer by TomG

Try:

jQuery(".c4 input[type='text']").prop("disabled",true); 

 

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • Answer
  • March 28, 2024

Try:

jQuery(".c4 input[type='text']").prop("disabled",true); 

 


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 10 replies
  • March 29, 2024

Try:

jQuery(".c4 input[type='text']").prop("disabled",true); 

 

Thanks Tom. You’re a legend.