The pages attribute specifies the sequence of pages in a survey.
<survey>
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pagenumber | integer | A non-negative integer specifying the page number. | ||||||||||||||||||||||||||||||||
pagename | surveypage | The name of a page defined elsewhere in the script to be run in this survey. | ||||||||||||||||||||||||||||||||
selectmode | selectmodeenum |
|
The integers to the left of the equal signs represent ordinal positions within the sequence of pages. Pages can be directly assigned to a position in the sequence using the equals sign. A page can be simultaneously assigned to multiple positions by separating the position numbers with commas (equivalent to "and") or dashes (equivalent to "through"). All page numbers in the survey must be assigned to a page.
The following survey consists of 3 survey pages presented in fixed order:
<survey>
/ pages=[1=page1; 2=page2; 3=page3]
</survey>
The following survey presents 4 pages in random order.
<survey>
/ pages=[1-4=noreplace(page1, page2, page3)]
</survey>