Hi everyone,
I have a slider without an anchor (as shown here:
https://gitlab.com/gr0ssmann/otree_slider/-/blob/main/SliderPage.html), and I am trying to figure out how to define a default value for the slider when the user does not give an input.
To be a bit more clear, we have a slider which acts as the answer field for a user who is asked a question; the slider has values ranging from 0 to 100. But the default value that is returned to the field is 50 when no input is given; ; this is a problem, since we will not be able to tell the difference between someone who answered 50 and someone who simply did not answer.
So, I am hoping to make the default value something outside of the possible range of answers (like -1 or -5) or 'none' value. Again, the range we have now is 0 - 100, and I would like to make it so that it is easy to identify and then censor the values that come from a user not inputting an answer.
Does anyone have any idea about how to do this? I'd really appreciate any thoughts on this topic! I've attached the code below (it's very similar to the link above, as that's the template I followed.)
Thanks very much,
Bennett