Welcome to the LimeSurvey Community Forum

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

Change slider numeric value with javascript

More
5 years 9 months ago #170172 by laocoon
Replied by laocoon on topic Change slider numeric value with javascript
If I got 5 Sliders the start-value would be 100/5. If I move the first Slider up all the others go down by (100-(value of slider1))/4.
Maybe the result has to be rounded down if you get fractions of numbers.

I know it won't be easy, but I thought that maybe someone already had the same problem.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170173 by tpartner
Replied by tpartner on topic Change slider numeric value with javascript
That would be very confusing for the respondent. What happens when hey move a second slider? Does the first also get adjusted again. If not, what happens when they have moved all sliders and the total is not 100?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
5 years 9 months ago #170186 by laocoon
Replied by laocoon on topic Change slider numeric value with javascript
That's a good point. I will think about it and consider if I can achieve my purposes otherwise better.

Thanks a lot for your fast responses.
The topic has been locked.
More
4 years 1 week ago #195573 by rouuuge
Replied by rouuuge on topic Change slider numeric value with javascript
hi, with the current 3.x version I get a infinite loop when change a slider.

also in your sample survey. Can you comfirm that?

thank you!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 week ago #195586 by DenisChenu
Replied by DenisChenu on topic Change slider numeric value with javascript

rouuuge wrote: hi, with the current 3.x version I get a infinite loop when change a slider.

also in your sample survey. Can you comfirm that?

thank you!

Topic from 4 years ago

Last response 1 year 8 months ago

I close the topic : please open a new topic AND make a complet question with detail.

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.

Lime-years ahead

Online-surveys for every purse and purpose