Millisecond Forums

Page numbers on trails in block element

https://forums.millisecond.com/Topic27980.aspx

By Ruth1234 - 11/12/2019

Hi,

I have been working on creating a survey for a couple of days and used the Inquisit documentation and the Forum to do so. However, I run into a problem which I cannot find the solution for. The problem is that I want to have page numbers on the different trials that people need to do, so they know how much trials they have left. However, in the block element there is no option to show page numbers. I set the showpagenumber option to true in the surveypage element, however since the same page is used for each trial every time the number is 1.

Could anybody help me out? Thanks in advance!

Ruth


This is the last part of my code:

<surveypage attraction>
/ caption = "Please answer the following questions about the environments depicted"
/ fontstyle = ("Verdana", 12pt, true, false, false, false, 5, 0)
/ stimulusframes = [1=environmentpic]
/ questions = [1=environments; 2=visual_1; 3=visual_2; 4=visual_3; 5=social_1; 6=social_2; 7=social_3]
/ responsefontstyle = ("Verdana", 8pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 10pt, false, false, false, false, 5, 0)
/ itemspacing = 1%
/ showpagenumbers = true
/ showquestionnumbers = true
/ finishlabel = "Next"
/ nextbuttonposition = (60%,90%)
</surveypage>

<surveypage demographics>
/ caption = "Please answer the following demographic questions."
/ fontstyle = ("Verdana", 12pt, true, false, false, false, 5, 0)
/ questions = [1=gender; 2=age; 3=nationality; 4=education; 5=recognize]
/ responsefontstyle = ("Verdana", 8pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 10pt, false, false, false, false, 5, 0)
/ itemspacing = 1%
/ showpagenumbers = true
/ showquestionnumbers = true
/ finishlabel = "Next"
/ nextbuttonposition = (60%,90%)
</surveypage>


Experiment
******************
<block experiment>
/ trials = [1-5=attraction]
</block>

<block demographics>
/ trials = [1=demographics]
</block>

<expt>
/ preinstructions = (introduction)
/ postinstructions = (end)
/ blocks = [1=experiment; 2=demographics]
/ showmousecursor = true
</expt>
By Dave - 11/12/2019

Ruth1234 - 11/12/2019
Hi,

I have been working on creating a survey for a couple of days and used the Inquisit documentation and the Forum to do so. However, I run into a problem which I cannot find the solution for. The problem is that I want to have page numbers on the different trials that people need to do, so they know how much trials they have left. However, in the block element there is no option to show page numbers. I set the showpagenumber option to true in the surveypage element, however since the same page is used for each trial every time the number is 1.

Could anybody help me out? Thanks in advance!

Ruth


This is the last part of my code:

<surveypage attraction>
/ caption = "Please answer the following questions about the environments depicted"
/ fontstyle = ("Verdana", 12pt, true, false, false, false, 5, 0)
/ stimulusframes = [1=environmentpic]
/ questions = [1=environments; 2=visual_1; 3=visual_2; 4=visual_3; 5=social_1; 6=social_2; 7=social_3]
/ responsefontstyle = ("Verdana", 8pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 10pt, false, false, false, false, 5, 0)
/ itemspacing = 1%
/ showpagenumbers = true
/ showquestionnumbers = true
/ finishlabel = "Next"
/ nextbuttonposition = (60%,90%)
</surveypage>

<surveypage demographics>
/ caption = "Please answer the following demographic questions."
/ fontstyle = ("Verdana", 12pt, true, false, false, false, 5, 0)
/ questions = [1=gender; 2=age; 3=nationality; 4=education; 5=recognize]
/ responsefontstyle = ("Verdana", 8pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 10pt, false, false, false, false, 5, 0)
/ itemspacing = 1%
/ showpagenumbers = true
/ showquestionnumbers = true
/ finishlabel = "Next"
/ nextbuttonposition = (60%,90%)
</surveypage>


Experiment
******************
<block experiment>
/ trials = [1-5=attraction]
</block>

<block demographics>
/ trials = [1=demographics]
</block>

<expt>
/ preinstructions = (introduction)
/ postinstructions = (end)
/ blocks = [1=experiment; 2=demographics]
/ showmousecursor = true
</expt>

<values>
/ pagenumber = 0
</values>

<surveypage attraction>
/ ontrialbegin = [values.pagenumber += 1;]
/ caption = "<%values.pagenumber%>) Please answer the following questions about the environments depicted"
/ fontstyle = ("Verdana", 12pt, true, false, false, false, 5, 0)
/ stimulusframes = [1=environmentpic]
/ questions = [1=environments; 2=visual_1; 3=visual_2; 4=visual_3; 5=social_1; 6=social_2; 7=social_3]
/ responsefontstyle = ("Verdana", 8pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 10pt, false, false, false, false, 5, 0)
/ itemspacing = 1%
/ showpagenumbers = false
/ showquestionnumbers = true
/ finishlabel = "Next"
/ nextbuttonposition = (60%,90%)
</surveypage>

<surveypage demographics>
/ ontrialbegin = [values.pagenumber += 1;]
/ caption = "<%values.pagenumber%>) Please answer the following demographic questions."
/ fontstyle = ("Verdana", 12pt, true, false, false, false, 5, 0)
/ questions = [1=gender; 2=age; 3=nationality; 4=education; 5=recognize]
/ responsefontstyle = ("Verdana", 8pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 10pt, false, false, false, false, 5, 0)
/ itemspacing = 1%
/ showpagenumbers = false
/ showquestionnumbers = true
/ finishlabel = "Next"
/ nextbuttonposition = (60%,90%)
</surveypage>


Experiment
******************
<block experiment>
/ trials = [1-5=attraction]
</block>

<block demographics>
/ trials = [1=demographics]
</block>

<expt>
/ blocks = [1=experiment; 2=demographics]
/ showmousecursor = true
</expt>


By Ruth1234 - 11/12/2019


Thanks a lot! It works perfectly!