This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
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:




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.

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 |