The surveypage element presents a page of survey questions.
surveyPage.name.backLabel
surveyPage.name.caption
surveyPage.name.currentPageNumber
surveyPage.name.currentQuestionNumber
surveyPage.name.finishLabel
surveyPage.name.fontHeight
surveyPage.name.itemFontHeight
surveyPage.name.itemSpacing
surveyPage.name.leftMargin
surveyPage.name.navigationButtonHeight
surveyPage.name.navigationButtonWidth
surveyPage.name.nextLabel
surveyPage.name.responseFontHeight
surveyPage.name.rightMargin
surveyPage.name.showBackButton
surveyPage.name.showNextButton
surveyPage.name.showPageNumbers
surveyPage.name.showQuestionNumbers
surveyPage.name.subcaption
surveyPage.name.subcaptionFontHeight
surveyPage.name.topMargin
surveyPage.name.altLatency
surveyPage.name.beginResponseFrame
surveyPage.name.beginResponseTime
surveyPage.name.inputMask
surveyPage.name.lastDropLatency
surveyPage.name.lastDropSource
surveyPage.name.lastDropTarget
surveyPage.name.postTrialPause
surveyPage.name.preTrialPause
surveyPage.name.trialCode
surveyPage.name.trialDuration
surveyPage.name.correct
surveyPage.name.correctCount
surveyPage.name.correctStreak
surveyPage.name.count
surveyPage.name.elapsedTime
surveyPage.name.error
surveyPage.name.errorCount
surveyPage.name.errorStreak
surveyPage.name.inWindow
surveyPage.name.inWindowCount
surveyPage.name.inWindowStreak
surveyPage.name.lastPhotoCapturePath
surveyPage.name.lastScreenCapturePath
surveyPage.name.lastSoundCapturePath
surveyPage.name.latency
surveyPage.name.maxLatency
surveyPage.name.meanLatency
surveyPage.name.medianLatency
surveyPage.name.minLatency
surveyPage.name.notInWindow
surveyPage.name.notInWindowCount
surveyPage.name.notInWindowStreak
surveyPage.name.percentCorrect
surveyPage.name.photoCapture
surveyPage.name.recordData
surveyPage.name.response
surveyPage.name.responseMonitor
surveyPage.name.responseText
surveyPage.name.responseX
surveyPage.name.responseY
surveyPage.name.screenCapture
surveyPage.name.sdLatency
surveyPage.name.showMouseCursor
surveyPage.name.soundCapture
surveyPage.name.sumLatency
surveyPage.name.timeout
surveyPage.name.timestamp
surveyPage.name.totalCorrectCount
surveyPage.name.totalCount
surveyPage.name.totalErrorCount
surveyPage.name.totalMaxLatency
surveyPage.name.totalMeanLatency
surveyPage.name.totalMedianLatency
surveyPage.name.totalMinLatency
surveyPage.name.totalNumCorrect
surveyPage.name.totalPercentCorrect
surveyPage.name.totalSDLatency
surveyPage.name.totalSumLatency
surveyPage.name.totalTrialCount
surveyPage.name.totalVarLatency
surveyPage.name.trialCount
surveyPage.name.varLatency
surveyPage.name.windowCenter
surveyPage.name.windowDecThreshold
surveyPage.name.windowDecUnit
surveyPage.name.windowHitDuration
surveyPage.name.windowIncThreshold
surveyPage.name.windowIncUnit
surveyPage.name.windowMaxCenter
surveyPage.name.windowMinCenter
surveyPage.name.windowOffset
surveyPage.name.windowOnset
surveyPage.name.windowWidth
surveyPage.name.name
surveyPage.name.typeName
surveyPage.name.clearStimulusFrames
surveyPage.name.insertStimulusFrame
surveyPage.name.insertStimulusTime
surveyPage.name.removeStimulusFrame
surveyPage.name.removeStimulusTime
surveyPage.name.resetStimulusFrames
surveyPage.name.setStimulusFrame
surveyPage.name.setStimulusTime
surveyPage.name.stimulusFrame
surveyPage.name.stimulusTime
The surveypage element is a specialized type of trial that presents one or more survey questions. A survey page may be presented as part of a sequence of pages in a survey element, or it can be presented like as a trial trials in a block element.
Survey pages can present multiple choice, free text, and slider questions, as well as plain text, images, and even rapid sequences of stimuli (pictures, video, text, sound, port signals) just like regular trials.
The following surveypage displays three questions:
<surveypage myPage>
/caption = "Please answer the following items to the best of your ability"
/ questions=[1=q1; 2=q2; 3=q3]
</surveypage>
The following surveypage displays three questions, no back button, a custom label on the next button. At the end of the page, it sets a custom value based on the response to the first question.
<surveypage myPage>
/caption = "Please answer the following items to the best of your ability"
/ questions=[1=q1; 2=q2; 3=q3]
/ showBackButton=false
/ nextLabel="Forward"
/ onTrialEnd = { if (radioButtons.q1.response == 1) values.sex = "female";}
</surveypage>