Hi, I want to dynamically change a slider's start position.
For example, the participant's first response is 200, I want to hide the slider and then after 60 seconds, I want to show the slider and the start position is at 200-60=140, the participant can drag the slider to 100. Then after 60 seconds, I want to set the slider start position at 100-60=40. What tricks can I use to dynamically change a slider's start position from 200 to 140 then to 40?
I know the slider start position can be customized by using javascript:
var qobj = this;
var qid = this.questionId;
this.setChoiceValue(1, 140);
But this cannot work with the setTimeout function: This doesn't work
setTimeout(function(){
this.setChoiceValue(1, 140);
},60000);
And I cannot separate these slider questions into several blocks because there are other questions in this block and I want to keep people within the same block to observe something and see other questions.
Is there any way to do this? Many thanks!!!
Question
Dynamically change slider start position
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
