Actions

Question groups - introduction: Difference between revisions

From LimeSurvey Manual

m (Cdorin moved page Questions groups - introduction to Question groups - introduction without leaving a redirect)
No edit summary
Line 3: Line 3:
__TOC__
__TOC__


=Creating a group= <!--T:2-->


<!--T:3-->
<div class="simplebox">[[File:help.png]] Please note that the below explanations and screenshots are based on LimeSurvey 3.</div>
Before you can [[Adding a question|add questions]] to your survey you must create a group. Create a new group by clicking on the Add icon [[File:add.png]] in the Survey Button Bar. Alternatively you can import a previously exported group. The import feature does NOT import groups from LimeSurvey (PHPSurveyor) versions older than 1.45.
 
=Create question group=
 
There are three ways through which you can start adding question groups to your survey:
 
* Access the Overview tab from survey settings menu. Locate the '''add new group''' button in the Survey summary section and create your question group.
 
</center>[[FIle:]]</center>
 
 
* Access your '''survey structure''' and locate in the left menu the '''add question group''' button.
 
 
<center>[[File:]]</center>
 
 
Once created, the add question group page will be showed up:


<!--T:4-->
You can create as many groups as you like.


=Using groups for summarizing questions= <!--T:5-->
<center>[[File:]]</center>


<!--T:6-->
Groups can be used to group questions in a survey. If you are going to have multiple groups, you should note that by default the survey questions will be displayed group by group (you can change that at the survey settings). To display the groups in a particular order use the group re-ordering feature. If you have only one group in your survey then the name of this group is irrelevant (except of course for display).


=Group elements= <!--T:7-->
The following fields will be displayed:
*Title: Type in this box the name you wish to give to the question group;


<!--T:8-->
<!--T:8-->
*Description:
Groups can also include a "description". This field allows you to publish an explanatory note for any set of questions. If you add a description, it will be presented at the survey before commencing any of the questions in that group. If you do not include any text here, then public participants will simply move on to the first question in the group with no stop. You can use the HTML editor to include images, formatted text, etc. to your liking.
Groups can also include a "description". This field allows you to publish an explanatory note for any set of questions. If you add a description, it will be presented at the survey before commencing any of the questions in that group. If you do not include any text here, then public participants will simply move on to the first question in the group with no stop. You can use the HTML editor to include images, formatted text, etc. to your liking.


=Show/Hide groups conditionally= <!--T:9-->
 
 
<!--T:13-->
*Ranzomization group:
Starting in version 2.0 you are now able to randomize the order of question groups. To do that just enter a string into the field 'Randomization group', for example 'randgroup1'. You will need to enter that same string in all question groups who you want to randomize and which will then appear in a random order when taking the survey. Only places inside the same group will be randomly switched.
 
 
 


<!--T:10-->
<!--T:10-->
Starting in version 1.92, you can set a Relevance Equation for the group using [[Expression Manager|Expression Manager]] syntax.  This is helpful for "looping" or other cases where you are repeating similar content multiple times.  For example, say you want to ask the same set of follow-up questions for each child in a household, and you asked how many children there are via a question named ''numKids''.  Then, for each group of follow-up questions, you would use relevance equations the following (which would collect data about the third child):  '''numKids == 3'''
*Relevance question: you can set a Relevance Equation for the group using [[Expression Manager|Expression Manager]] syntax.  This is helpful for "looping" or other cases where you are repeating similar content multiple times.  For example, say you want to ask the same set of follow-up questions for each child in a household, and you asked how many children there are via a question named ''numKids''.  Then, for each group of follow-up questions, you would use relevance equations the following (which would collect data about the third child):  '''numKids == 3'''
NOTE:


<!--T:11-->
<!--T:11-->
An explanation and example for hiding question groups is available at the [[Expression Manager Examples#Hide_question_group_if_answer_from_previous_question_is_Yes_or_No|Expression Manager Examples page]].
An explanation and example for hiding question groups is available at the [[Expression Manager Examples#Hide_question_group_if_answer_from_previous_question_is_Yes_or_No|Expression Manager Examples page]].


=Question group randomization= <!--T:12-->


<!--T:13-->
 
Starting in version 2.0 you are now able to randomize the order of question groups. To do that just enter a string into the field 'Randomization group', for example 'randgroup1'. You will need to enter that same string in all question groups who you want to randomize and which will then appear in a random order when taking the survey. Only places inside the same group will be randomly switched.
<!--T:4-->
You can create as many groups as you like.
 
<!--T:6-->
NOTE SOMEWHERE: Groups can be used to group questions in a survey. If you are going to have multiple groups, you should note that by default the survey questions will be displayed group by group (you can change that at the survey settings). To display the groups in a particular order use the group re-ordering feature. If you have only one group in your survey then the name of this group is irrelevant (except of course for display).
 
 
==Import a question group==
 
You can also import a question group (.lsg file format) that was previously exported from a LimeSurvey survey. First, access the '''add question group''' option and then locate on the top toolbar the import question group function:
 
 
<center>[[File:]]</center>
 
 
Browse your computer and upload the .lsg file that contains the respective question group
 
 
<center>[[File:]]</center>
 
 
</translate>
</translate>

Revision as of 17:33, 14 December 2017


Please note that the below explanations and screenshots are based on LimeSurvey 3.

Create question group

There are three ways through which you can start adding question groups to your survey:

  • Access the Overview tab from survey settings menu. Locate the add new group button in the Survey summary section and create your question group.

[[FIle:]]


  • Access your survey structure and locate in the left menu the add question group button.


[[File:]]


Once created, the add question group page will be showed up:


[[File:]]


The following fields will be displayed:

  • Title: Type in this box the name you wish to give to the question group;
  • Description:

Groups can also include a "description". This field allows you to publish an explanatory note for any set of questions. If you add a description, it will be presented at the survey before commencing any of the questions in that group. If you do not include any text here, then public participants will simply move on to the first question in the group with no stop. You can use the HTML editor to include images, formatted text, etc. to your liking.


  • Ranzomization group:

Starting in version 2.0 you are now able to randomize the order of question groups. To do that just enter a string into the field 'Randomization group', for example 'randgroup1'. You will need to enter that same string in all question groups who you want to randomize and which will then appear in a random order when taking the survey. Only places inside the same group will be randomly switched.



  • Relevance question: you can set a Relevance Equation for the group using Expression Manager syntax.  This is helpful for "looping" or other cases where you are repeating similar content multiple times.  For example, say you want to ask the same set of follow-up questions for each child in a household, and you asked how many children there are via a question named numKids.  Then, for each group of follow-up questions, you would use relevance equations the following (which would collect data about the third child):  numKids == 3

NOTE:

An explanation and example for hiding question groups is available at the Expression Manager Examples page.


You can create as many groups as you like.

NOTE SOMEWHERE: Groups can be used to group questions in a survey. If you are going to have multiple groups, you should note that by default the survey questions will be displayed group by group (you can change that at the survey settings). To display the groups in a particular order use the group re-ordering feature. If you have only one group in your survey then the name of this group is irrelevant (except of course for display).


Import a question group

You can also import a question group (.lsg file format) that was previously exported from a LimeSurvey survey. First, access the add question group option and then locate on the top toolbar the import question group function:


[[File:]]


Browse your computer and upload the .lsg file that contains the respective question group


[[File:]]