How do I use JS to make the piped text in default choices un-editable/disabled? | XM Community
Skip to main content

Hi! I'm working on a matrix table survey question that is constant sum. I have three columns, but I want to make the third column un-editable so that it only displays the piped text of their answers they entered in a previous question. I've never used JS before so I wanted to see if anyone had a way to use it in a case like this!

Thanks for the help!

Try using below JS in the matrix question:
jQuery("td.last input[type='text']").attr("disabled",true);


That worked perfectly - thank you! How can I adjust that code so it makes the first two columns for a different question un-editable?


Leave a Reply