The questions attribute specifies the sequence of questions in a survey page.
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
questionnumber | integer | A non-negative integer specifying the question number. | ||||||||||||||||||||||||||||||||
questionname | surveyitem | The name of a question defined elsewhere in the script to be run in this survey page. | ||||||||||||||||||||||||||||||||
selectmode | selectmodeenum |
|
The integers to the left of the equal signs represent ordinal positions within the sequence of questions. questions 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 page must be assigned to a page.
The following survey page consists of 3 survey questions presented in fixed order:
<surveypage>
/ questions=[1=question1; 2=question2; 3=question3]
</surveypage>
The following survey page presents 4 questions in random order.
<surveypage>
/ questions=[1-4=noreplace(question1, question2, question3)]
</surveypage>