Check out the LimeSurvey source code on GitHub!

Mulit numerical input - slider layout - equals sum

More
5 years 4 months ago #67164 by lovepade
I love the slider layout of multiple numerical input. How ever a user asked me if it would be possible to have an option to automatically adjust the slider for answer x and y, when the user changes the answer for z.

E.g.
equals sum set to 30.
initial sum for x, y, z is 10.
  • The respondent changes the value of x to 14.
  • The system automaticcally changes y and z to be 8.
  • The repsondent then changes the value of x again. This time to 13.
  • The system automaticcally changes y and z to be 8.5.
  • The respondent now changes the value of y to 10
  • The system either
  • ----a) assumes that x is set, and therefore changes z to 7
  • ----b) changes x to 12.25 and changes z to 7.75

I am not completely sure that this would always be simpler, but a user asked me for this feature. What do you think?

Sincerely

Please Log in to join the conversation.

More
5 years 4 months ago #67182 by Mazi
I think it can be done but it requires some customized Javascript code which is not that trivial I guess.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #67242 by lovepade
Nice - it's not that important for me right now, it was just something I was asked about.

I am just as much interested in wether people think this is a good idea?

EDIT: So I guess I should add it to ideas.limesurvey.org :-)
Last Edit: 5 years 4 months ago by lovepade.

Please Log in to join the conversation.

More
5 years 4 months ago #67245 by Mazi

lovepade wrote: EDIT: So I guess I should add it to ideas.limesurvey.org :-)

Exactly!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 4 months ago #67246 by lovepade

Please Log in to join the conversation.

More
5 years 4 months ago #67248 by Mazi
Accepted.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
2 years 7 months ago #110542 by mrli999
If there are more than two subquestions, it is a little complex.

If there are only two subquestions, is it possbile? Thanks.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form