Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Slider initial value "0" problem

  • JeffNevington
  • JeffNevington's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 3 weeks ago #109061 by JeffNevington
Slider initial value "0" problem was created by JeffNevington
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 topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 3 weeks ago #109063 by DenisChenu
Replied by DenisChenu on topic Slider initial value "0" problem
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 , plugin development .
I don't answer to private message.
The topic has been locked.
More
5 years 6 months ago #178043 by zserban
Replied by zserban on topic Slider initial value "0" problem
I can confirm this is still bugged.

The slider cannot handle a 0 initial value, for whatever reason.

This is happening in the latest version.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 6 months ago #178044 by tpartner
Replied by tpartner on topic Slider initial value "0" problem
If that's the case, please file a bug report.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: zserban
The topic has been locked.
More
5 years 6 months ago #178045 by zserban
Replied by zserban on topic Slider initial value "0" problem
Sure, I just added a note to your own submit.

bugs.limesurvey.org/view.php?id=13302
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
5 years 3 months ago #181492 by DerBibber17
Replied by DerBibber17 on topic Slider initial value "0" problem
Hey there,
does anybody know if there's still no solution for this problem?
The miminum of my slider is -100 and the max +100. So of course I want the slider to start at 0.
I tried the option "sliders start at the middle position" and "slider initial value" = 0 but my slider always starts at 5.
Are there any workarounds?
The topic has been locked.
More
5 years 3 months ago #181498 by jelo
Replied by jelo on topic Slider initial value "0" problem
This comment indicates a bugfix: bugs.limesurvey.org/view.php?id=13302#c50886

The dates indicate that the current release of LS doesn't contain a fix.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #181499 by Joffm
Replied by Joffm on topic Slider initial value "0" problem
Hi, Bibber,
as usual: Which version? Which template?


Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #181503 by Joffm
Replied by Joffm on topic Slider initial value "0" problem
At the moment I do not see this issue.
Neither in version 2.73.1


nor in version 3.16.0.


Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
5 years 3 months ago #181563 by DerBibber17
Replied by DerBibber17 on topic Slider initial value "0" problem
That's interesting... I'm using version 3.13.2 and the slider always starts at 5. When i set initial value for example at 50, the slider starts (without any problems) at 50. But when I set initial value at 0, it always starts at 5.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #181565 by DenisChenu
Replied by DenisChenu on topic Slider initial value "0" problem
The best is to answer to this question :

Joffm wrote: …
as usual: Which version? Which template?


Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
5 years 3 months ago #181569 by DerBibber17
Replied by DerBibber17 on topic Slider initial value "0" problem
As mentioned in my comment above I use version 3.13.2 and the template is called TUGraz. Its from my university (I don't have any rights to edit it).
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose