Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: hide question text for some certain multiple choice questions

hide question text for some certain multiple choice questions 5 years 7 months ago #56644

  • Naablu
  • Naablu's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hello,

I want to hide the question text of some multiple choice questions (not for all). I would like to hide or get ride of the placeholder for the question text too.

I tried to do that by writing something like that in my templates:

#questionAAAXBBBXCCCCquestiontext
{
display: none;
}

That didn't work. Can anybody find the mistake I made or has other ideas to get rid of the placeholders and questiontexts?

Thank you in advance!
The administrator has disabled public write access.

hide question text for some certain multiple choice questions 5 years 7 months ago #56647

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6004
  • Thank you received: 370
  • Karma: 260
Please add a link to a simple sample survey which we can use for reference.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

hide question text for some certain multiple choice questions 5 years 7 months ago #56656

  • Naablu
  • Naablu's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
The administrator has disabled public write access.

hide question text for some certain multiple choice questions 5 years 7 months ago #56660

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9346
  • Thank you received: 1338
  • Karma: 386
Here to hide answer 2 text:
#javatbd98492X588X40202 label {display:none;}

ANd to hide the qiestion text
#question4020 .questiontext {display:none;}

Use firebug (firefox) or some other web dev helper to find the id and the class.

:)
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Time to create page: 0.226 seconds
Imprint                   Privacy policy                  Revocation information and revocation form