Hi all,
I am trying to create a survey that asks people to put in their name for each row and fill out numbers in the columns. I created a matrix table with constant sum but I would like to have 2 constant sums in each row for two different totals (see pic below). It seems like there is no default option on Qualtrics and the only way is to add a javascript, which I am not familiar with. I searched but couldn't find this question asked/answered before. I was wondering if there is any code for this. Thank you so much in advance!
Javascript for 2 constant sums in each row?
Thanks a lot! I will see how to write it up!
For JS, you need to change the question type to Matrix text entry question with 6 scale points/columns (A, B, (A+B), C, D, (C+D)). Make column 3 and column 6 read only. On blur event of any text box calculate the sum of each row and write it in respective row's column 3 and 6.
Thank you for your suggestions! I have never done JS so I would appreciate any pointers in terms of codes involved. Thank you again!
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.