Prevent changing the handle in a slider question | XM Community
Solved

Prevent changing the handle in a slider question

  • 18 October 2018
  • 1 reply
  • 49 views

Userlevel 3
Badge +5
In my survey I have a question where respondents can set a value from 1 - 10 based on a MC question.

On the last page I have created a summary pages and in this summarypage I added a slider type question. The default value is based on the MC question earlier in the survey. Because it is a summary page I like to set this slider type question to non-changable. The handle should remain on the position based on the MC question value and may not be changed.

How can I set this question to something like read only and prevent of changing value?

Thanks in advance.
icon

Best answer by Anonymous 18 October 2018, 11:11

View original

1 reply

Hello @Nico_Leussink ,

Paste the below code in js(onReady) of slider question

`jQuery("#"+this.questionId).css("pointer-events", "none");`

Leave a Reply