Hi,
I'm trying to do a math operation where the survey respondent starts with $x. A choice that the survey respondent makes should deduct $y from this initial amount (for simplicity, let x and y be 1). I am trying to show the remaining amount dynamically using Qualtrics Math operations or Javascript. However, during testing, the results of the math operations are showing up as blank.
How can I fix this? Would really appreciate all the help, thanks!
This is my code in Javascript:
This is the logic I'm using in the question text for the math operation to display:
This is the blank result I get during testing:
Best answer by Lokendra
View original