up Inquisit Language Reference

currentQuestionNumber property

The number of the first question on the currently visible survey page.

Member of

<survey> <surveyPage>

Syntax

object.name.currentQuestionNumber

Read Only

Type

integer

Remarks

This value indicates which survey question is currently visible to the user. If a survey page contains multiple questions, the number of the first question is returned.

Examples

The following displays the value of currentQuestionNumber in a text stimulus:

<text myText>
/ items= ("currentQuestionNumber = <% surveypage.page1.currentQuestionNumber %>")
</text>

The following displays the value of currentQuestionNumber in an instruction page:

<page myPage>
currentQuestionNumber = <% survey.mySurvey.currentQuestionNumber %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.