up Inquisit Language Reference

pages attribute

The pages attribute specifies the sequence of pages in a survey.

Member of

<survey>

Syntax

/ pages = [pagenumber, pagenumber = pagename; pagenumber-pagenumber = selectMode(pagename, pagename,...); pagenumber, pagenumber-pagenumber = pagename]

Parameters

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
ValueDescription
constantConstant selection of a single item.
currentCurrently selected item of a stimulus or counter.
nextNext selected item of a stimulus or counter.
noReplaceRandom selection without replacement.
noReplaceCorrectRandom selection without replacement if response is correct.
noReplaceErrorRandom selection without replacement if response is incorrect.
noReplaceNoRepeatRandom selection without replacement or repeating an item.
noReplaceNotRandom selection without replacement excluding the current item.
notSynonym of noreplacenot.
randomSynonym of noreplace.
replaceRandom selection with replacement.
replaceNoRepeatRandom selection with replacement and without repeating an item.
replaceNotRandom selection with replacement excluding the current item.
sequenceSequential selection in the listed order.
serialSynonym of sequence.

Remarks

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.

Examples

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>

Copyright Millisecond Software, LLC. All rights reserved.