Hello! I am looking for help in creating JavaScript code that allows me to disable the abilities to (1) drag the marker on the Slider question type and (2) to click on the band to select a score on the Slider question type. I have written code that creates arrows that go underneath the slider. Ideally, respondents would use the arrows to move the marker to choose a score. However, this new code still allows for respondents to drag the marker / point and select a score. This disincentivizes respondents from using the arrows. I would like to add code so that respondents can only press the arrows to move the markers. Any help would be great! I have included an image of how the marker moves when the arrows are used.
Page 1 / 1
Try this code in question JS:
jQuery(".sliderGrid").css("pointer-events","none")
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.