How to properly update a Constant Sum input value via JavaScript? | XM Community
Skip to main content
Question

How to properly update a Constant Sum input value via JavaScript?

  • July 22, 2025
  • 2 replies
  • 37 views

Forum|alt.badge.img+1

Hello Guys! So I have a Constant Sum Input Question, and I can update value through Javascript inside Qualtrics.SurveyEngine.addOnRead, but my problem is when I submit/next the flow, the value becomes null. I tried the trigger change after setting the value, I tried setting the value inside Qualtrics.SurveyEngine.addOnPageSubmit, I also tried to make sure that the value is not empty before submitting but it is not working. What am I missing?

Before Submit…


After Submit…

 

2 replies

Forum|alt.badge.img+1
  • Author
  • 3 replies
  • July 23, 2025

Closed!


AlonsoC
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 407 replies
  • July 24, 2025

Closed!

Hi ​@crazyarc10,

What ended up being the solution? It would greatly help out other Community members!