How to prevent user input in Matrix table? | XM Community
Skip to main content
Hi all,



I have a matrix table with 15 rows and three columns of text input fields. In each field, I defined default choices using piped text.

How can I prevent users from changing these default choices and simply use the matrix table as an overview table?



I tried:



jQuery("#"+this.questionId+" .InputText").prop("readonly", true);



That did not do the trick.



Best
What I would suggest in this situation is to use a descriptive text question and build your table using Rich Content Editor, then use your piped text inside it.
Hi,



the problem is that we want to randomize the rows of the table, which I am not sure how to achieve with a table from Rich Content Editor.
Ok I used the following code to hard-code each row and column in the table:

jQuery("[id='QR~QID~1~1~TEXT']").attr("readonly",true);

Leave a Reply