Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Slider initial value "0" problem

Slider initial value "0" problem 2 years 6 months ago #109061

When setting an initial value of "0" for a slider, it doesn't seem to register.

For example I have two sliders in one mandatory question,
The sum of both sliders must add up to 10.
The minimum is 0 and the maximum is 10 in increments of 1.
If the user drags both sliders to 5, and presses "next" all is fine, however, if the user drags only one slider to 10 and leaves the other untouched, the user is instructed to complete the question.

I noticed this only seems to be a problem with the "0" initial value, for example if I set the initial value to 1, the number "1" appears above the slider upon loading. If I then only touch one slider, dragging to 9, making the sum 10 and click "next" all is fine.

If I set the initial value to "0", nothing appears above the slider until it is clicked. The user may drag it up and down and re-set to 0, then it allows the user to continue, but they cannot leave it un-touched.

Am I missing something? Does anyone have an example of this working with a "0" initial value?
The administrator has disabled public write access.

Slider initial value "0" problem 2 years 6 months ago #109063

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Hi,

What is your LimeSurvey version ?
Maybe you can report the bug if it's the last version.

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.195 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form