Laying out a grid question for an online survey

When running a survey online, you do not have the same level of control over the way the surveys looks when compared to printing a paper survey. The questionnaire layout can look quite different when displayed on different monitors using different web browsers. It is worth checking the layout on a number of browsers, using different monitors and window sizes, before sending it to any participants.

Grid layouts can be affected by this and Snap XMP Desktop provides several tools to assist you in laying out grid questions and adjusting positioning of the separate elements.

This tutorial shows you how to adjust the layout of a grid question:

  • Set the grid boxes so that they are vertically centred
  • Hide the question number and remove the space left for it
  • Change the spacing between the grid elements
  • Adjust the page margins

The original grid question before the changes is shown:

GridQuestionOriginal.PNG

Step 1: Removing question numbers

  1. In the Questionnaire window, click Style Mode StyleModeIcon.png .
  2. Select All Styles from the question style list. Any changes made will now affect all questions.
  3. Select Show from the toolbar topic menu.
  4. Select Name (for question numbers) or Grid Name (for grid question numbers) from the element list.
  5. Clear the Show box to hide the question numbers.
RemoveQuestionNos.PNG

The question is shown with no question number:

GridQuestionNoQuestion.PNG

Step 2: Align response boxes vertically

The preview shows that the response circles are vertically aligned with the bottom of the row. You can change that by adjusting the alignment.

  1. In the Questionnaire window, click Style Mode StyleModeIcon.png .
  2. Select All ‘Grid’ Styles from the question style list. Any changes made will now affect all Grid question styles.
  3. Select Alignment from the toolbar topic menu.
  4. Select Code Box from the element list.
  5. The first box (showing Center in the image) gives the horizontal alignment.
  6. The second box (showing Middle in the image) gives the vertical alignment.
GidQuestionCenter.PNG
  1. Set the vertical alignment to Middle.

Step 3: Adjusting the grid question spacing

The spacing of a grid question is calculated proportionately to the browser window size. This is because you do not know how respondents will be viewing your questionnaire. You can define the amount of available space that is given to each element using the Tabs option. The diagram below shows the element names and the areas they affect.

GridElements.png

Remove the space left for the hidden question numbers

  1. Make sure that the Questionnaire window is in Style Mode StyleModeIcon.png . If you have switched to design mode in the mean time, click Style Mode StyleModeIcon.png  again
  2. Select All Styles from the question style list.
  3. Select Tabs from the toolbar topic menu.
  4. Select Name from the element list.
RemoveQuSpace.PNG
  1. Reduce the space for the Name element down to 0%. This will move the questions to the left-hand side of the questionnaire.

The grid question is shown with the spacing removed:

GridQuestionNoSpace.PNG

Increase the space between the grid columns and remove the right-hand space

The code gutter describes the space between the grid columns. Increasing the code gutter will increase the width of the grid and display the code boxes further apart.

The code verge describes the space between the last grid column and the right hand side of the questionnaire.

  1. Make sure that the Questionnaire window is in Style Mode StyleModeIcon.png . If you have switched to design mode in the mean time, click Style Mode StyleModeIcon.png  again
  2. Select All ‘Grid’ Styles from the question style list.
  3. Select Tabs from the toolbar topic menu.
  4. Select Code Gutter from the element list.
GidQuestionCodeGutter.PNG
  1. Increase the space for the Code Gutter element to 15%.
  2. Select Code Verge from the element list.
GidQuestionCodeVerge.PNG
  1. Reduce the space for the Code Verge element down to 0%. This removes the space between the question and the right-hand side of the window.
GridQuestionSpacing.PNG
  1. Align the grid row labels with the question text by setting the Code Offset to 0%.
GridQuestionCodeOffset.PNG

Step 4: Changing the page settings

  1. Click Publish PublishIcon.png from the Questionnaire toolbar.
  2. Set the Method to publish your questionnaire to Preview only.
  3. Click the Publish button to display the questionnaire as it will appear to the participant. There’s still space between the edges of the window and the grid question in the published survey. This is set in the Margins option in Questionnaire properties.
GridQuestionLive1.PNG
  1. Click QuestionnairePropsIcon.png  to open the Questionnaire properties dialog.
  2. Select Margins in the Section list.
  3. Set all the margins value to 0px and click OK.
QuestProps.PNG
  1. Publish your questionnaire to preview again. Your grid question should now expand to fit the whole of the browser window.
GridQuestionLive2.PNG

If there is a topic you would like a tutorial on, email to snapideas@snapsurveys.com

Contents