Welcome to the LimeSurvey Community Forum

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

Two sliders with different values

  • zoemartin
  • zoemartin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 1 week ago #252348 by zoemartin
Two sliders with different values was created by zoemartin
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 3.28.52
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hi! Sorry in advance if there is an obvious solution I'm missing or if this has been previously answered.

I'm trying to implement a question on my survey that has two sliders (via Multiple Numerical Input and subquestions). Right now, they're both from a range from -50 to 50, and everything works great. However, I'd like to make it so that one is from -50 to 50 and the other is 0 to 100. Is this possible to do in Limesurvey within a question? The survey is presented question by question.

Let me know if there's more information that would be useful.
Thanks!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252361 by Joffm
Replied by Joffm on topic Two sliders with different values
Hi,
an easy way to achieve this:
Use two questions.
Merge them with css-classes "no-bottom" in the first question and "no-question" in the second question.

Here the two classes which you may add to the "custom.css" of your extended theme.
Code:
.no-question { border-top:0; }
.no-question .question-title-container { display:none; }
.no-question .question-valid-container { display:none; }
.no-question .answer-container {
    padding-top: 0em;
    padding-bottom: 0.5em;
}    
.no-question .question-container {
    border: none !important;
}
 
.no-bottom { border-bottom:0;margin-bottom:0; }
.no-bottom .answer-container {
    padding-bottom: 0em;
}





Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose