up Inquisit Language Reference

survey element

The survey element defines a sequence of one or more pages containing question and response items.

Attributes

<survey name>
/ backButtonPosition = (x, y)
/ backLabel = label
/ encrypt = boolean(password)
/ file = path
/ finishLabel = label
/ fontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ itemFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ itemSpacing = height
/ itemSpacing = expression

/ navigationButtonFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ navigationButtonSize = (width, height)
/ navigationButtonSize = (widthexpression, heightexpression)

/ nextButtonPosition = (x, y)
/ nextButtonPosition = (xexpression, yexpression)

/ nextLabel = label
/ orientation = layout
/ pageFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ pages = [pagenumber, pagenumber = pagename; pagenumber-pagenumber = selectMode(pagename, pagename,...); pagenumber, pagenumber-pagenumber = pagename]
/ password = string
/ responseFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ separateFiles = boolean
/ showBackButton = boolean
/ showNextButton = boolean
/ showPageNumbers = boolean
/ showQuestionNumbers = boolean
/ subcaptionFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ txColor = colorname
/ txColor = expression

/ userId = string
/ onBlockBegin = { script }
/ onBlockEnd = { script }
/ screenColor = colorname
/ screenColor = expression

/ branch = { script }
/ dataStreams = (datastream, eyetracker)
/ dataStreams = false

/ onTrialBegin = { script }
/ onTrialEnd = { script }
/ photoCapture = boolean
/ quit = { script }
/ recordData = option
/ response = responsename
/ response = timeout(milliseconds)
/ response = window(center, width, stimulusname)
/ response = responsemode

/ screenCapture = boolean
/ showMouseCursor = boolean
/ skip = { script }
/ soundCapture = boolean
/ timeout = integer
/ timeout = expression

</survey>

Properties

survey.name.backLabel
survey.name.currentPageNumber
survey.name.currentQuestionNumber
survey.name.encrypt
survey.name.file
survey.name.fileName
survey.name.finishLabel
survey.name.fontHeight
survey.name.fullPath
survey.name.itemFontHeight
survey.name.itemSpacing
survey.name.leftMargin
survey.name.navigationButtonHeight
survey.name.navigationButtonWidth
survey.name.nextLabel
survey.name.pageFontHeight
survey.name.password
survey.name.responseFontHeight
survey.name.rightMargin
survey.name.showBackButton
survey.name.showNextButton
survey.name.showPageNumbers
survey.name.showQuestionNumbers
survey.name.subcaptionFontHeight
survey.name.topMargin
survey.name.userId
survey.name.currentBlockNumber
survey.name.currentTrialNumber
survey.name.screenColor
survey.name.screenColorBlue
survey.name.screenColorGreen
survey.name.screenColorRed
survey.name.trialsCount
survey.name.correct
survey.name.correctCount
survey.name.correctStreak
survey.name.count
survey.name.elapsedTime
survey.name.error
survey.name.errorCount
survey.name.errorStreak
survey.name.inWindow
survey.name.inWindowCount
survey.name.inWindowStreak
survey.name.lastPhotoCapturePath
survey.name.lastScreenCapturePath
survey.name.lastSoundCapturePath
survey.name.latency
survey.name.maxLatency
survey.name.meanLatency
survey.name.medianLatency
survey.name.minLatency
survey.name.notInWindow
survey.name.notInWindowCount
survey.name.notInWindowStreak
survey.name.percentCorrect
survey.name.photoCapture
survey.name.recordData
survey.name.response
survey.name.responseMonitor
survey.name.responseText
survey.name.responseX
survey.name.responseY
survey.name.screenCapture
survey.name.sdLatency
survey.name.showMouseCursor
survey.name.soundCapture
survey.name.sumLatency
survey.name.timeout
survey.name.timestamp
survey.name.totalCorrectCount
survey.name.totalCount
survey.name.totalErrorCount
survey.name.totalMaxLatency
survey.name.totalMeanLatency
survey.name.totalMedianLatency
survey.name.totalMinLatency
survey.name.totalNumCorrect
survey.name.totalPercentCorrect
survey.name.totalSDLatency
survey.name.totalSumLatency
survey.name.totalTrialCount
survey.name.totalVarLatency
survey.name.trialCount
survey.name.varLatency
survey.name.windowCenter
survey.name.windowDecThreshold
survey.name.windowDecUnit
survey.name.windowHitDuration
survey.name.windowIncThreshold
survey.name.windowIncUnit
survey.name.windowMaxCenter
survey.name.windowMinCenter
survey.name.windowOffset
survey.name.windowOnset
survey.name.windowWidth
survey.name.name
survey.name.typeName

Functions

None.

Remarks

Examples

The following survey contains 3 pages and allows forward navigation only.

<survey customersat>
/ pages=[1=page1; 2=page2; 3=page3]
/ showbackButton=false
/ finishLabel = "Thank you!"
/ screenColor = white
</survey>

Copyright Millisecond Software, LLC. All rights reserved.