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

Next Topic

Book Contents

Book Index

Controlling the iteration

The iteration is controlled by a question (the nett variable). This is normally a single-response question near the top of the survey, which lists the different options for repeating the survey. Once a respondent logs in, they select the iteration they are about to complete by answering this question.

The nett variable stores which iterations have been completed in Snap WebHost. (The new answer is logically ORed with all the previously stored answers.)

Snap WebHost uses the login and the stored responses to decide which iterations of the survey to show to a given respondent.

The next time the respondent logs in to that survey, previous selections are masked out from the iteration control question, so that the respondent has to choose a different response. When all iterations have been completed, the respondent cannot complete the survey again.

For example, if a student completed a survey for each module of their course, the first time they saw the survey, they would have the option of choosing to complete the survey for any module.

If the respondent selects Chemistry and completes the survey, a chemistry data case will be stored in Snap WebHost, and the next time that person begins the survey, the Chemistry option will be masked out.

See Also

Selecting the database to link to

Steps to create an iterative survey

Seeding an iterative survey to limit possible iterations