Is it possible to create a dynamic Overall Total in a Constant Sum Matrix question (js/ html?) | XM Community
Skip to main content

Is it possible to create a dynamic Overall Total within a Constant Sum question similar to the image below - either as part of the table, or as a separate figure?
Is it possible with JavaScript only - or do I need to use html too?
image.png

You can only do it with JavaScript. You'll need some html, but you can add that using JS.



https://community.qualtrics.com/XMcommunity/discussion/comment/43202#Comment_43202Thanks Tom - I thought that might be the case.... would it be a lot of work/ code? Is it something that you already have to hand / or easy for me to put in place?


https://community.qualtrics.com/XMcommunity/discussion/comment/43205#Comment_43205I haven't done this. Probably a dozen or so lines of code. How much work depends on JS knowledge/skill.



https://community.qualtrics.com/XMcommunity/discussion/comment/43209#Comment_43209I think I'll struggle - I've been looking at other posts to see if I could find anything similar. I think the closest I found was this post (How to display score on survey page that dynamically updates? — Qualtrics Community), but that post was regarding Likert scales...
I wasn't 100% sure what the final solution was on that post, but is that the approach? I assume I'd need to change the event? and how the scores are picked up?


Leave a Reply