Welcome to the LimeSurvey Community Forum

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

Slider in middle, have to move to answer?

  • r0bis
  • r0bis's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 4 months ago - 7 years 4 months ago #145756 by r0bis
Hello,

In the older limesurvey versions I remember the multiple numerical input slider layout gave me an option that the slider handle could start in the middle point of the scale and the respondent had to move the handle to record an answer.

In the new version when I set the slider position to the middle, it also gives me the default answer. That is if I set slider to start in the middle (and min=0, max=100 and I do not set Slider Initial Value), the respondent does not have to move the handle at all and the submission will be recorded as 50. I am not sure if this is the intended behaviour as the help tips seem to suggest otherwise.

What I really want is that the handle is displayed in the middle and user being unable to submit without moving the handle. How could I achieve this?

Roberts

P.S. Limesurvey Version 2.50+ Build 160817

r0berts
Last edit: 7 years 4 months ago by r0bis. Reason: added version
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #145759 by DenisChenu
Replied by DenisChenu on topic Slider in middle, have to move to answer?
I don't know for the last 2.X version, but this is a bug fixed in develop version.

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.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #145763 by tpartner
Replied by tpartner on topic Slider in middle, have to move to answer?
Maybe, since develop isn't ready for production, it should be fixed in 2.5x ;)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 4 months ago #145779 by LouisGac
Replied by LouisGac on topic Slider in middle, have to move to answer?
see:
github.com/LimeSurvey/LimeSurvey/blob/ma...lper.php#L3037-L3042

// 5. If no value at all, or if middle start, the "user no action" is recorded as null in the database


So this should be the current behavior.
Please, update to the latest version, make sure you didn't set any default value (session value, expression, default answer, init value), and if you still observe the bug, please, submit a bug report with an lss file.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #145803 by tpartner
Replied by tpartner on topic Slider in middle, have to move to answer?

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: r0bis, LouisGac
The topic has been locked.
  • r0bis
  • r0bis's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 4 months ago #145887 by r0bis
Replied by r0bis on topic Slider in middle, have to move to answer?
Thanks, this is good to know. I will now be installing limesurvey on production machine; the one I reported on was on bitnami stack virtualbox VM - I had not updated it yet. Now it looks to me if I take the latest build limesurvey2.57.1+161205.tar.gz I should probably be fine.

r0berts
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #145888 by tpartner
Replied by tpartner on topic Slider in middle, have to move to answer?
No, as far as I can see the bug is not resolved yet in 2.5x.

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: r0bis
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 4 months ago #145889 by LouisGac
Replied by LouisGac on topic Slider in middle, have to move to answer?
We're going to give it a try right now. Should be fixed tonight.
The topic has been locked.
More
7 years 1 month ago #149317 by first
Replied by first on topic Slider in middle, have to move to answer?
Hi - I have one more concern . I set set slider initial position as middle in advanced settings. The pointer should be at 3.5 instead of 4. Moreover 3.5 should be the middle of the slider.


Survey Designer and Programmer
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #149355 by tpartner
Replied by tpartner on topic Slider in middle, have to move to answer?
The slider value (in the tooltip) can only be one of the increments if your scale. It cannot be 3.5 if you have accuracy 1.

In the case of your screenshot, the 3.5 is rounded up to 4.

To get an accurate center start you need to use a scale with a center point like 1-8.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose