How do I Add a Conversion Rate Calculation that change based on a Numerical Response? | XM Community
Skip to main content
Solved

How do I Add a Conversion Rate Calculation that change based on a Numerical Response?

  • May 11, 2020
  • 2 replies
  • 83 views

Forum|alt.badge.img

Hi there,
I want to be able to add a box that calculates conversion rate
based off of a numerical value a respondent has given. I want to ensure this
calculation cannot be amended by the respondent, only the initial numerical
value. I also want the conversion calculation to be automatically viewable for the respondent to see,
ideally within the same question.
 
Thanks,
Luke

Best answer by TomG

You can't use a Qualtrics Math Operation to do this on the same page because math operation calculations are done on the server. Therefore, you need to do the calculation in JavaScript and dynamically update the page html to display it.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • Answer
  • May 11, 2020

You can't use a Qualtrics Math Operation to do this on the same page because math operation calculations are done on the server. Therefore, you need to do the calculation in JavaScript and dynamically update the page html to display it.


Forum|alt.badge.img
  • Author
  • 3 replies
  • May 12, 2020

Thanks TomG, really helpful!