Welcome to the LimeSurvey Community Forum

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

Hide numbers in slider question

  • eloner
  • eloner's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 1 month ago #225388 by eloner
Hide numbers in slider question was created by eloner
Dear all,
I tried to hide numbers in a slider question following this topic:
forums.limesurvey.org/forum/can-i-do-thi...ue-when-using-slider
(I modified the css as suggested by Tony Partner), but apparently it does not seem to work: the numbers are displayer when I move the slider.
The survey is attached below.
I am using Lime Cloud Hosting as today (5.2.13) and the fruity (extended template).
Any help is appreciated!
Thanks in advance!
ELONER

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #225392 by Joffm
Replied by Joffm on topic Hide numbers in slider question
Add "! important"
Code:
.no-tooltip .slider .tooltip {
    display: none !important;
}

 

Joffm

And please avoid to write in bold.
Except the initial questions.

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

Please Log in to join the conversation.

  • eloner
  • eloner's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 1 month ago #225393 by eloner
Replied by eloner on topic Hide numbers in slider question
Thanks Joffm!
This was the solution ;)
Now it works!

Please Log in to join the conversation.

  • eloner
  • eloner's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 1 month ago #225971 by eloner
Replied by eloner on topic Hide numbers in slider question
Our student are stiull working on slider questions (Lime Cloud, 5.2.13).
They have found a problem in a survey with two languages (Italian and English as additional).
The problem is:
- creste a survey with italian as first language and english as second
- create a survey with a slider question non mandatory (and the template modified as suggested in this post)
- test the survey:
- In Italian all is ok
- Only in English, if we do not answer to all the subquestions we get a message that one or more questions have not been answered (see the attachment)
 
I enclose also the .ll file for reproducibility.
 

File Attachment:

File Name: SurveySlid...5492.lss
File Size:40 KB

I am wondering if this a problem of the modified template or a bug and how we can fix it.
Thank to all those who can help!
Est,
Eloner


 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #225984 by Joffm
Replied by Joffm on topic Hide numbers in slider question
Hi, 
I found that the negative min value causes this behaviour.
So it is obviously a bug. As your survey is hosted at LimeSurvey GmbH, you may contact them directly.
Anyway: File a bug report.
[url] community.limesurvey.org/bug-tracker/ [/url]
Credentials: The same as in this forum.

What you can do:
As you do not display the tooltips (what is this class "no-tooltip"?) (and the values) you may change the scale from -5 - +5 to  0 - 11 and later recalculate the values in your analysis.

And something else:
Why did you change the separator? Well, it doesn't matter.
But this is really strange.
The subquestion consists of three parts, separated by a defined character.
subquestion text | left side of the slider | right side of the slider
Here an example:
dog|low|high
 

If there is no subquestion text (as in your survey), this part is empty, only |low|high

In your survey I saw this
textA $ $ textB
So textA is not the left side of the slider but the text of the subquestion.
So should be $textA$textB

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • eloner
  • eloner's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 1 month ago #225993 by eloner
Replied by eloner on topic Hide numbers in slider question
Thanks Joffm for your help!

Please Log in to join the conversation.

More
1 year 3 months ago #239613 by AdelineLacroix
Replied by AdelineLacroix on topic Hide numbers in slider question
Hi Joffm,

I am desperately trying to hide the number of the slider but it does not work. What I did:
- went to the theme configuration, extended the fruity theme, added the above code to the custom.css (I also tried other similar codes but none worked), saved the changes
- in my questionnaire, I changed the theme for the extended one. However, I still have the numbers...
What did I miss?

Any help would be much appreciated....

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #239618 by tpartner
Replied by tpartner on topic Hide numbers in slider question
Did you assign the CSS class "no-tooltip" to the question?

- manual.limesurvey.org/Question_type_-_Mu...lass_.28css_class.29

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

Please Log in to join the conversation.

More
1 year 3 months ago #239621 by AdelineLacroix
Replied by AdelineLacroix on topic Hide numbers in slider question
I am totally new to LimeSurvey and searched quite a lot but that is definitely what I missed.
Sorry for having asked and thank you so much for your answer. That works perfectly now.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose