Welcome to the LimeSurvey Community Forum

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

Slider with two values

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232699 by tpartner
Replied by tpartner on topic Slider with two values
Your survey works fine for me.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232705 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Thanks for testing. I can't know what's wrong. I use Ubuntu and by default it has no SELinux enabled. As I was testing locally, I also just said chown -R a+rwX limesurvey.

Do you have other plugins installed, maybe something that could refer to same files?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232706 by tpartner
Replied by tpartner on topic Slider with two values
No, the JS and CSS files are specific to that question theme. Also, as I mentioned, I got it to work on a fresh, unmodified LimeSurvey installation.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232710 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Aaand... now it works. What is the difference between 204 KB zip you put as an attachment to this thread vs. 208 KB zip one can download from GitHub?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232730 by tpartner
Replied by tpartner on topic Slider with two values
The file I attached was downloaded from my GitHub repository.

Did you follow these instructions exactly, or did you try to import the complete GitHub download?

 

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232731 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Ah, OK. My bad. I didn't understood that the file name has meaning.

Next time I'll re-read instructions.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232849 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Still more... Is it possible to hide values for this question type? The same

.no-tooltip .withslider .tooltip { display: none !important; }

that works with normal sliders does not work.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232851 by tpartner
Replied by tpartner on topic Slider with two values
Assuming you have applied the "no-tooltip" class name to the question, try this (untested because I'm on my phone):

Code:
.no-tooltip .tooltip { display: none !important; }

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232852 by tpartner
Replied by tpartner on topic Slider with two values
...maybe I should add that as a question setting?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #233161 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Unfortunately
Code:
.no-tooltip .tooltip { display: none !important; }
did not work. And yes, I guess this setting might be useful.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #233192 by tpartner
Replied by tpartner on topic Slider with two values
If you have applied the "no-tooltip" class name to the question, this will work for the range slider type question:

Code:
.no-tooltip .tooltip,
.no-tooltip .inserted-tooltip { 
    display: none !important; 
}

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: Jmantysalo

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 5 months ago #233426 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
I found a bug: Middle area is always blue, setting "Middle range color" does nothing. Where should I report this?

Also it is possible to move upper marker to the left from lower marker. I'm not sure if this is a bug or feature.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose