Adding a custom constant sum box to an image | XM Community
Skip to main content

Hi,
My collaborators and I are trying to create a question that looks like this:
Screen Shot 2020-07-15 at 6.19.13 PM.pngOur code works for the most part, but we can't seem to get the "total" box to display the sum of all other 5 boxes.
Here is the code:

































Does anyone know what is the problem? The code runs fine in a HTML webpage.

Try putting your findTotal() function (without the script tag) inside the Qualtrics.SurveyEngine.addOnload() function.


I would like to use a similar question, can you share the code you used to achieve this outcome?


Leave a Reply