Welcome to the LimeSurvey Community Forum

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

Display QuestionGroup Name in results stats, make group question conditionnals

  • cchanay
  • cchanay's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 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.
The topic has been locked.
More
8 years 5 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
The following user(s) said Thank You: cchanay
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 #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: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 8 years 5 months ago by Mazi.
The following user(s) said Thank You: cchanay
The topic has been locked.
  • cchanay
  • cchanay's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 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 :)
The topic has been locked.
  • cchanay
  • cchanay's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #126543 by cchanay
This topic can be closed now, I realised it was not in the right section.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose