Solved
Remove zeros from matrix table user view
Hi all!
Is there a way to remove the zeros from the user's view of a matrix table? I have a large(ish) constant sum matrix table as I'm collecting workforce demographic data and a whole load of zeros looks quite overwhelming on the screen. Is there a way to have the input cells as blank boxes?
Thanks :)
Rose
Best answer by Anonymous
Hello @rose_b ,
This can be achieved through java script.
1. Get the id of the input box- In the preview mode of the question, do inspect element(ctrl+shift+C for chrome) and get the id of the input box (marked with arrow).
As shown in the below image!
2. Go to the add java script option of the constant sum matrix question and add the following line in the on load function :
document.getElementById('QR~QID9~1').value="";
3. Repeat step step 1 and 2 for every input box. see the image below
!
4. Once this is done you will see blank input options as shown in the below image
!
Please let me know if you have any problem in implementing this.
View original


Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.