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 3 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 3 months ago #109063

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386

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

Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.179 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form