Displaying costs in real time based on where the survey respondent puts a slider | XM Community
Question

Displaying costs in real time based on where the survey respondent puts a slider

  • 31 January 2020
  • 1 reply
  • 1 view

Hi everyone,

I am currently working on a survey where respondents choose a level of effort with a slider. They can choose values between 0 and 100.

In that survey, however, effort induces costs. The cost function is: cost=effort^2*0,02

Does anyone have a Javascript that allows you to display the costs in real time, depending on where the respondent puts the slider?

Unfortunately I am not familiar with java.

Best regards,
Gerald

1 reply

Userlevel 7
Badge +11
Hi Gerald! You are correct in that you'll need some custom code for this. If you don't get a hit from the community, I would suggest posting it in the freelancer section to get bids. We've got some great freelancers in the community that help with things like this.

Leave a Reply