- Posts: 44
- Thank you received: 15
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
conditions on subquestion
- TMSWhite
- Offline
- LimeSurvey Community Team
Less
More
12 years 5 months ago #69890
by TMSWhite
If you depend upon LimeSurvey or the support team, please give generously to our 2012 fundraiser .
Replied by TMSWhite on topic conditions on subquestion
Is the core issue a problem with cascading array filters? I've fixed that known bug with
Expression Manager
(EM) so that multiple array filters work properly on the same and different pages.
I also updated the data model in the _CI and _dev_tms (to be 1.92) branches so that we can assign different relevance equations to each subquestion. That way, you can use a array_filter (which auto-creates sub-question-level relevance equations), plus add additional question and/or sub-question-level relevance (the successor for conditions). The Internal logic portions for that work, but we don't have a GUI yet for adding sub-question-level relevance, although that would be easy - just add an extra column in addition to code and/or assessment value.
I also updated the data model in the _CI and _dev_tms (to be 1.92) branches so that we can assign different relevance equations to each subquestion. That way, you can use a array_filter (which auto-creates sub-question-level relevance equations), plus add additional question and/or sub-question-level relevance (the successor for conditions). The Internal logic portions for that work, but we don't have a GUI yet for adding sub-question-level relevance, although that would be easy - just add an extra column in addition to code and/or assessment value.
If you depend upon LimeSurvey or the support team, please give generously to our 2012 fundraiser .
- Expression Manager (EM):
Documentation
|
Sample Surveys
|
How Tos
|
Show Logic File
|
Upgrading to 1.92+ - Excel Style for Survey Structure Import/Export
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13668
- Thank you received: 2496
12 years 5 months ago #70186
by DenisChenu
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.
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.
- Mazi
- Offline
- Official LimeSurvey Partner
12 years 5 months ago #70205
by Mazi
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
Replied by Mazi on topic conditions on subquestion
Idea approved.Shnoulle wrote: Oups :
ideas.limesurvey.org/ideatorrent/idea/343/
Waiting moderation
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
The following user(s) said Thank You: zahidansari
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
11 years 5 months ago #89417
by Mazi
Using a question attribute is definitely the easiest solution to implement this. Simply add an attribute "CSS class name(s)" at which the user can enter specific class name(s) for a certain question. These must be added when generating the HTML code for the question at the survey (previouly done in qanda.php) and can then be used at template.css.
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
Replied by Mazi on topic conditions on subquestion
Comment added:Mazi wrote:
Idea approved.Shnoulle wrote: Oups :
ideas.limesurvey.org/ideatorrent/idea/343/
Waiting moderation
Using a question attribute is definitely the easiest solution to implement this. Simply add an attribute "CSS class name(s)" at which the user can enter specific class name(s) for a certain question. These must be added when generating the HTML code for the question at the survey (previouly done in qanda.php) and can then be used at template.css.
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
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10114
- Thank you received: 3595
11 years 5 months ago #89422
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic conditions on subquestion
And another:
We should also look at automatically adding the question code to the question class.
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
- Offline
- Official LimeSurvey Partner
8 years 6 months ago - 8 years 6 months ago #126745
by Mazi
This can easily be done by adding {QUESTION_CODE} to the template, example:
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
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 6 months ago by Mazi.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13668
- Thank you received: 2496
8 years 6 months ago #126754
by DenisChenu
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.
Replied by DenisChenu on topic conditions on subquestion
Hi Tony,tpartner wrote: And another:
We should also look at automatically adding the question code to the question class.
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.
- ymca
- Offline
- Elite Member
Less
More
- Posts: 168
- Thank you received: 2
6 years 9 months ago #156729
by ymca
LS Version 4.2+
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13668
- Thank you received: 2496
6 years 9 months ago #156730
by DenisChenu
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.
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.