Question groups - introduction
From LimeSurvey Manual
Revision as of 11:37, 13 March 2012 by Mazi
Creating a group
Before you can add questions to your survey you must create a group. Create a new group by clicking on the Add icon 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.
You can create as many groups as you like.
Using groups for summarizing questions
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).
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
Limesurvey 1.92 and above
Starting in Version 1.92, 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
Prior Limesurvey 1.92
To hide all questions of a certain group at Limesurvey 1.91 or older, proceed as follows:
- Set a condition on the first question of the according group
- Use the copy condition feature to copy the previously set condition to all following questions of that group: