Welcome to the LimeSurvey Community Forum

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

Always hide question group

  • Hiwi_PE
  • Hiwi_PE's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #113940 by Hiwi_PE
Always hide question group was created by Hiwi_PE
Is it possible to hide the first question group permanently?

Similar to the case of always hiding a question?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 5 months ago #113961 by Mazi
Replied by Mazi on topic Always hide question group
Yes. At Limesurvey 1.92/2.x there is a group relevance field. Just enter something like "1==2" there and it should always be hidden.

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.
More
8 years 11 months ago #120462 by ordogz
Replied by ordogz on topic Always hide question group
Hi!
Is it possible to hide the last question group permanently? I have my hidden results equations over there...
The topic has been locked.
More
8 years 11 months ago #120464 by Ben_V
Replied by Ben_V on topic Always hide question group
Only if group by group presentation:

1) In advanced settings tick for each question "always hide this question"

2) Paste in the HELP area of your last question:
Code:
<script type="text/javascript">
    $(document).ready(function() {
        $('body').hide();
        document.limesurvey.submit();
    });
</script>

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
More
8 years 11 months ago #120465 by ordogz
Replied by ordogz on topic Always hide question group
Thank you ! :)
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 11 months ago #120539 by Mazi
Replied by Mazi on topic Always hide question group
You can also try to set the "relevance equation" on group level to 0 (zero). But test if the results still get calculated when skipping questions that way.

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.
  • fransmarcelissen
  • fransmarcelissen's Avatar
  • Offline
  • Premium Member
  • Premium Member
More
8 years 11 months ago - 8 years 11 months ago #120540 by fransmarcelissen
Replied by fransmarcelissen on topic Always hide question group
In my humble opinion the answers on this question are not completely correct or at least dangerous. When the relevance equation of a group is set to 0, the group is not hidden, but it is skipped. That means that the equations om this group are not calculated. And the questions with default values do not receive a value. In general this is not what you want.
The simplest way to hide a group is by hiding all quetions in the group. Now the question/equations are calculated, but the group is hidden.
Or am I incorrect?
Frans, DigiPsy
Last edit: 8 years 11 months ago by fransmarcelissen.
The following user(s) said Thank You: DenisChenu, tammo
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 11 months ago #120547 by Mazi
Replied by Mazi on topic Always hide question group
Thanks for your clarification. I wasn't sure about calculations being done when hiding the group by setting the relevance to "0".
Can you please add a note to the manual for others about this behavior and other, alternative approaches?!

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.
More
8 years 5 months ago #127932 by jsibley
Replied by jsibley on topic Always hide question group
It sounds like it would be a feature request, but could there be an option to hide all questions in a group (and the question group, itself)?

This way, one could put all equations and url based fields in one place and not have to hide them one by one.

Might this be added at some point?

Thanks!
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 5 months ago #127941 by Mazi
Replied by Mazi on topic Always hide question group

jsibley wrote: It sounds like it would be a feature request, but could there be an option to hide all questions in a group (and the question group, itself)?

This way, one could put all equations and url based fields in one place and not have to hide them one by one.

Might this be added at some point?

Can you confirm that when setting all questions of a group to hidden (using the advanced question attributes) the group is not shown BUT calculations for equation questions of this group are still performed at the background?

I think the best approach would be to create a new plugin for mass-editing questions to e.g. hide X questions or set the "hide this tip" attribute for Y questions.

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.
More
8 years 5 months ago #127988 by jsibley
Replied by jsibley on topic Always hide question group
I can confirm that my equations are calculating properly when all questions are hidden (even when based on other questions in a different group where all questions are hidden).

And, as hoped for, the group doesn't show up at all when all questions in the group are hidden.

Mass editing would be an acceptable solution.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 5 months ago #128006 by Mazi
Replied by Mazi on topic Always hide question group
Thanks for your feedback!

Anyone else interested in a mass editing plugin which allows mass-editing questions to e.g. hide X questions or set the "hide this tip" attribute for Y questions?

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.

Lime-years ahead

Online-surveys for every purse and purpose