Snap XMP Help
A compound grid combines multiple grids into a single grid. This allows a grid to contain different question styles such as single choice, multiple choice and open series. With this feature you can create grids with rows that allow a choice to be selected and associated comments, dates, times or amounts entered as part of the response.
For the grids to be combined into a compound grid they must:
- follow each other in the questionnaire
- not have page breaks between the grids
- contain the same number of questions or rows
- contain grids or open series. These are the question styles Grid First, Grid Next and Open Series First, Open Series Next or styles that are based on them.
- have the same Show settings for Space before and Line before
Create the first grid
The first grid or open series question sets the questions that are used for each row. You can add question text in subsequent grids but when they are combined in the compound grid only the question text from the first grid will be shown.
In this example, a Grid First question starts the compound grid.
- Click New Question to add a new question.
- In the style selection drop down list change the style to Grid First. This will allow you to set up the headings for the first of a series of grid questions.
- In the area marked Click here for text, enter your question text, for example “Please tell us about your experience today.”
- Press the Tab key on your keyboard and enter the first answer, such as “Good”. Press Tab to create the next code and enter each subsequent answer. After the last code press the Down arrow instead of Tab.
- The cursor will move to the text of the first Grid Label. Type the first item, such as “Coffee Shop” and press Tab.
- This creates the next grid row automatically changing the style to Grid Next for the second and subsequent rows. Enter the next Grid Label.
- Press Tab to create another grid row or press Enter to complete the grid and move to a new question.
Create subsequent grids
Create the other grids that form part of the compound grid in the same way. Multiple grids can be added to the compound grid, but consideration should be given to the layout of the questionnaire.
When adding the grids make sure there are no page breaks between them.
In this example, an open series question is used to ask the respondents how much they spent.
- Click New Question to add a new question.
- In the style selection drop down list change the style to Open Series First. This will allow you to set up the heading for the first of a series of questions, each of which can contain numbers or text.
- In the area marked Click here for text, enter your question text.
- Press Tab and enter the text for the first row.
- Press Tab. and enter the text for the next row. This automatically changes the style to Open Series Next for the second and subsequent rows.
- Press Tab. and enter the text for the next row. This automatically changes the style to Open Next for the second and subsequent rows.
- If you need more questions press Tab again and repeat the process.
- If you wish to change the response type, select Response in the toolbar and select the response type. In this example, the response type is set to Quantity. Any following questions will keep the new response type.
Combine the grids
The next step is to combine the grids and open series questions to create the compound grid.
- If you do not want the question number showing across the compound grid, remove the question numbers on the grids by selecting Show and clearing the Show option for the Name.
- Select the first row of the second or subsequent grid.
- In the menu, select Columns from the second drop-down.
- Click the Compound button to set this grid as part of the compound grid. The display of the grids in the Questionnaire design window will not change.
- Repeat this for any further consecutive grids that are part of the compound grid.
When this compound grid is shown in a live interview the open series Q2 is displayed adjacent to and following the grid Q1.
In a survey that has multiple editions you will need to consider how the layout of the questionnaire will look for each edition during the live interview.
The compound grid needs to be set up for each edition. Editions used for smaller screens such as for a phone or tablet may not be suitable for larger compound grids.
Styling the compound grid
Each grid or open series can be styled in the same way as usual; more information on this can be found at Changing an individual question. When the grids are combined in a compound grid each grid is displayed with its styling, including colours and background.
If you want to create a uniform grid with the same styling this must be set up in each grid. Creating a question style for the compound grid helps make sure that all the grids have the same appearance.
If you want each section of the grid to be distinct then style each grid as required.
Please note: The line spacing settings given by Space before and Line before (found in the Show option) must be the same for all grids regardless of styling.
Testing the compound grid
The compound grid is not shown in the Questionnaire design window, only the individual grids are available.
To test that the compound grid appears as required, the questionnaire needs to be launched as a preview. In Snap Desktop, more information can be found at Testing the questionnaire online and in Snap Online more information can be found in the Previewing the published survey section in Publishing your survey.
Please note: The compound grids are only available with the new interviewer. If the grids are not showing as a compound grid, make sure you are using the new interviewer. You can check this in the Questionnaire properties. Select the Interview section and click the Advanced button then clear both interview settings.