Display QuestionGroup Name in results stats, make group question conditionnals

More
3 years 8 months ago #126481 by cchanay
Hello to every body, thank you for the work of all the community that helps users and administrators around the world.
At my work, we choose LimeSurvey to make student evaluates their courses. I'm developper, so i can deal with the code if necessary, but for now, i have no knowledge of the code structure of LS.

I have two simple questions :
1- How is it possible (coding, or setting) to make available the QuestionGroup name displayed in the stats page, after I selected one or more QuestionGroup in the filters of the stats page? And also, is it possible to add this field when I export a result file?

2-Is it possible to make conditionnal question groups? I mean, for example, a user selects, in a question group, the next question group he will answer?

Thank you for your answers.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 years 8 months ago #126493 by first
Answer to you second question.

#Create a question group having a multi question. I named it as qIndex.
#Have group relevance condition at later groups from this question.

Import and see attached lss.

File Attachment:

File Name: limesurvey...2499.lss
File Size:15 KB

Survey Designer and Programmer
Attachments:
The following user(s) said Thank You: cchanay

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago - 3 years 8 months ago #126531 by Mazi
@1: This requires adjusting the source code which I do not recommend.

@2: See example above.
You can alternatively set conditions to groups as explained here: www.limesurvey-consulting.com/how-to-con...roups-in-limesurvey/

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
Last edit: 3 years 8 months ago by Mazi.
The following user(s) said Thank You: cchanay

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #126537 by cchanay
Thank you guys for the answer to my second question.

For the first one : so there is no way to get the question group name in the exported or displayed results?
I was thinking, maybe should I develop a plugin to get a checkbox that allows to do that in the stat pages? But I don't have a lot of time to do it so develop a plugin would be tough..

I was checking export.php , to see if I can add "dirty" code in the function exportSurvey (ExportSurveyResultsService) (line 315) to add the field i want export, but I can't find the definition anywhere in the repository, maybe smbd can help me on this?

All help will be appreciated :)

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #126543 by cchanay
This topic can be closed now, I realised it was not in the right section.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!