Welcome to the LimeSurvey Community Forum

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

Slider with two values

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232477 by Jmantysalo
Slider with two values was created by Jmantysalo
Is it possible to make a slider with more than one value? In this case two, like this picture:

[img

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago - 1 year 6 months ago #232478 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
There is github.com/tpartner/LimeSurvey-Range-Slider-4x-5x , but it doesn't seem to work with version 5.4.3+220926. It just shows two text boxes for numerical input.
Last edit: 1 year 6 months ago by Jmantysalo.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232495 by tpartner
Replied by tpartner on topic Slider with two values
Did the question theme import correctly?

Do you see the question settings in the admin GUI?

Did you clear the assets cache?

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 #232496 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Yes; yes; no, but I did that now. No help, still no slider.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232497 by tpartner
Replied by tpartner on topic Slider with two values
It works for me with version 5.4.4.

Check for JS errors in the console.

Try setting debug to 1 and check the page source to see if the files below are present.

- rangeSlider.js
- rangeSlider.css

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 #232517 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
OK, that's it. rangeSlider.* are not seen in the page source.

debug=1 gives about 20 deprecation warnings, nothing more.

JS errors do not relate to this, I guess.

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. 215544
JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate-3.3.2.min.js:2:709
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. jquery-3.5.1.min.js:2:81419

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago - 1 year 6 months ago #232536 by tpartner
Replied by tpartner on topic Slider with two values
It's got to be something in your environment. I was able to successfully import the question theme and demo survey on a fresh 5.4.4 installation.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 1 year 6 months ago by tpartner.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232537 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
OK. What's you OS? I tried on Ubuntu 22.04.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232538 by tpartner
Replied by tpartner on topic Slider with two values
Locally: Xampp, Apache, Windows.

Remote: Shared hosting, Apache, Windows.

But, I doubt its an OS issue. More likely something in the sever settings or possibly file permissions. (but I'm not a server expert)

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 #232694 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Don't know what to test... Can you try this .lss, just to be sure, or send a working .lss to me?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232695 by tpartner
Replied by tpartner on topic Slider with two values
I don't see your .lss.

Here is the .lss and the theme file I imported into my remote site.

Theme:  

File Attachment:

File Name: Range-Slider.zip
File Size:204 KB


Survey:  

File Attachment:

File Name: limesurvey...9(1).lss
File Size:36 KB

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 #232696 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Forgot the attachment... not my day.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose