Welcome to the LimeSurvey Community Forum

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

"Hide tip" does not work

  • ChrisWilliams
  • ChrisWilliams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #206072 by ChrisWilliams
"Hide tip" does not work was created by ChrisWilliams
Hi,

I'm trying to hide tips from a multiple choice question. I have tried "on" and "off" and also tried making the question mandatory.

In all combinations of these options, the tip is still showing. Any ideas?



The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206077 by Joffm
Replied by Joffm on topic "Hide tip" does not work
You are right.
This is an error message, probably by your question validation.
I can only reproduce your screenshot by
  • setting "Hide tip to "OFF"
  • entering a question validation like "count(self)>0"
  • entering a validation tip like "Please select one answer"

If you set "Hide tip" to "ON" and setting the question "mandatory" you get

But in this case you do not need your question validation, because you have to select at least one answer (mandatory).

You did not say, what exactly you want to achieve.
At least one answer? This you get by setting "mandatory"
Exactly ONE answer? This you get by setting "Max. answers" to "1" and hiding the tip.



You see you only get the error message.

If I misunderstood your problem, please explain.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: ChrisWilliams
The topic has been locked.
  • ChrisWilliams
  • ChrisWilliams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #206154 by ChrisWilliams
Replied by ChrisWilliams on topic "Hide tip" does not work
Hi,


Many thanks for your reply. I have made some progress but it is not perfect.


What I want is a multiple choice question, only 1 answer permitted, no tip showing - just as you have in your final screenshot.


This is what I have now, the tip is hidden as required:

The error message is ok, but I can't sem to hide the tip:

The settings I have played with are now as follows:

Mandatory: off
Hide tip: on
Maximum answers: 1
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206159 by tpartner
Replied by tpartner on topic "Hide tip" does not work
LimeSurvey version?

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: ChrisWilliams
The topic has been locked.
  • ChrisWilliams
  • ChrisWilliams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #206165 by ChrisWilliams
Replied by ChrisWilliams on topic "Hide tip" does not work
Version 3.14.8+180829
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206166 by Joffm
Replied by Joffm on topic "Hide tip" does not work
Hi,
this seems to be strange.
I do not see any issue neither in version 3.22.28




nor in version 4.3.18.




As tpartner: Which version do you use?


By the way: What is the reason to use a multiple question and limit it to one answer?
Why don't you use a list(radio)?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • ChrisWilliams
  • ChrisWilliams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #206177 by ChrisWilliams
Replied by ChrisWilliams on topic "Hide tip" does not work
Hi. We are not using radio button list, because in some questions you have to choose 3 from 5 etc.
The topic has been locked.
  • ChrisWilliams
  • ChrisWilliams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #206178 by ChrisWilliams
Replied by ChrisWilliams on topic "Hide tip" does not work
I can't hide the green tip, here's another example I have played with:
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206180 by Joffm
Replied by Joffm on topic "Hide tip" does not work
Hi,
now, what to say?
Your version is 2 years old. I showed that the issue doesn't exist in an actual version.
Did you check the release logs?
community.limesurvey.org/releases/

I saw something in the 3.14.9. log, but I don't know if it is related to your issue.
-Fixed issue #13994: Question validation equation along with "Hide tip" (Dominik Vitt)

Anyway: You should consider an update. See, if your problem still exists.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: ChrisWilliams
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206182 by tpartner
Replied by tpartner on topic "Hide tip" does not work
Try this in the question source:

Code:
<style type="text/css">
 
  #question{QID} .ls-em-tip.em_default {
    display:none !important;
  }
 
</style>

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: ChrisWilliams
The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206193 by holch
Replied by holch on topic "Hide tip" does not work
But even if Tpartners solution will work: You should still consider an update to the latest version of the LS 3.x LTS branch (DO NOT go to LS 4.x yet - it is not ready for production yet).

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • ChrisWilliams
  • ChrisWilliams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #206231 by ChrisWilliams
Replied by ChrisWilliams on topic "Hide tip" does not work
This worked, thanks!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose