Welcome to the LimeSurvey Community Forum

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

conditions on subquestion

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 3 months ago #89422 by tpartner
Replied by tpartner on topic conditions on subquestion
And another:

We should also look at automatically adding the question code to the question class.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 5 months ago - 8 years 5 months ago #126745 by Mazi
Replied by Mazi on topic conditions on subquestion

tpartner wrote: We should also look at automatically adding the question code to the question class.


This can easily be done by adding {QUESTION_CODE} to the template, example:
Code:
<div {QUESTION_ESSENTIALS} class="question-wrapper clearfix {QUESTION_CODE}">

tpartner wrote: Great idea. Joomla has this for all content, modules, etc. and I use it all the time. You can also add multiple classes.


A feature for adding custom CSS classes to questions will be available at Limesurvey 2.5, see github.com/LimeSurvey/LimeSurvey/commit/...7325f78b2bc60cb350b4

Documentation: manual.limesurvey.org/QS:CSS_Class

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 8 years 5 months ago by Mazi.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #126754 by DenisChenu
Replied by DenisChenu on topic conditions on subquestion

tpartner wrote: And another:

We should also look at automatically adding the question code to the question class.

Hi Tony,

git.framasoft.org/Shnoulle/addQuestionCodeClass

Allow to strtolower question code. Activate or not by survey

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
6 years 8 months ago #156729 by ymca
Replied by ymca on topic conditions on subquestion
After installing the "addQuestionCodeClass", nothing happens.
It's acts the same and still needs to insert a code.

I have LS Version 2.62.2+170203

LS Version 4.2+
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 8 months ago #156730 by DenisChenu
Replied by DenisChenu on topic conditions on subquestion

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose