Disable text entry for Matrix Column | XM Community
Solved

Disable text entry for Matrix Column

  • 28 March 2024
  • 2 replies
  • 26 views

Badge +1

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);  

icon

Best answer by TomG 28 March 2024, 19:26

View original

2 replies

Userlevel 7
Badge +27

Try:

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

 

Badge +1

Try:

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

 

Thanks Tom. You’re a legend.

Leave a Reply