This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Using Totalize (Totalise)

The Totalize function works on a group of questions in Snap consisting of the options to be added up and the running total. The running total can be anywhere in the group. The questions must be sequential and on a single web page. You can have several Totalize groups in a single survey.

You run Totalize after you have published your survey. It inserts extra code in the published survey that displays the running total. The total is calculated according to your settings in Totalize.

You can set a limit on the running total in Snap using the Valid option in Variable properties for that question (for example, setting a valid range of 0 to 100). If you want the running total to be the answer to a previous question in the survey you would enter the variable name in the Valid option (for example Q3). You will need to make sure there is a page break between this question and the group of questions to be Totalized. If you have set a limit on the total, the answers are checked against the valid range when the user goes to the next page. If they fall outside it, a message is displayed. You can customize the default message text, see the topic Hiding question numbers in web surveys for more information.

To use the Totalize tool, you must have published a survey containing a sequence of quantity questions. These would normally be in the Open first, Open Next style. The last variable in your sequence is used to store your total. For example:

QW: open first open next time spent and total for totalize

  1. Open the Totalize program. You would normally do this by Selecting [Start] on the Microsoft toolbar, then type Totalize (this will be Totalise if you are in the UK) in the 'Search programs and files' box.

    VP: variable properties showing valid set to 0 to 8

  2. Click the [Browse] button and select the published survey file.
  3. Click [Add] to define the group of questions to total.

    VP: variable properties showing valid set to 0 to 8

  4. Select the first question in the survey that contributes to the total.
  5. Select the last question in the survey that contributes to the total or is the total question. (The total is usually the last question in the group, but you could have a layout in which it is not the last question.)
  6. Select the question that displays the total as the target question.
  7. Click [OK] to define the totalize group. A summary of the group details appears in the Totalize window.

    VP: variable properties showing valid set to 0 to 8

  8. Click [Process] to add the running total code to the published survey.
  9. Click [Save] to save your settings. If you re-publish the survey, you can click [Load] to quickly add the settings again.

If you have multiple survey editions, select another edition in the drop-down list and click [Load] to apply your settings to it then click [Process]. You must apply the settings and process them for all the surveys.

  1. Click [Close] when you have finished applying your Totalise settings.
  2. Run your survey as normal. When respondents complete a question in the group, their answer will be added to the total.

    VP: variable properties showing valid set to 0 to 8

If you re-publish the survey, the totalize information will be lost. You will have to add it again. You can do this quickly by clicking [Save] in Totalize to save your settings and then browsing to the settings file to add the settings back to the survey. This only works if you have not changed the question variables in the survey.

See Also

Rim weighting

Background

Summary of steps

Creating compound grids

Summary of steps

Using Rating Check to ensure ranking of options

Using Randomize to make pages appear in random order

Using AutomatedDataReports