- Posts: 26
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change slider numeric value with javascript
- laocoon
- Offline
- Junior Member
Less
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.
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
5 years 9 months ago #170173
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.
- laocoon
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 1
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.
Thanks a lot for your fast responses.
The topic has been locked.
- rouuuge
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 1
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!
also in your sample survey. Can you comfirm that?
thank you!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 1 week ago #195586
by DenisChenu
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.
Replied by DenisChenu on topic Change slider numeric value with javascript
Topic from 4 years agorouuuge 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!
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.