Next button for trials


Author
Message
tachihara
tachihara
Associate Member (219 reputation)Associate Member (219 reputation)Associate Member (219 reputation)Associate Member (219 reputation)Associate Member (219 reputation)Associate Member (219 reputation)Associate Member (219 reputation)Associate Member (219 reputation)Associate Member (219 reputation)
Group: Forum Members
Posts: 6, Visits: 14
It seems that the next button element only exists for survey pages but not trials. I would like to add a next button on my trial so that participants have to click it to advance to the next trial.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
tachihara - Sunday, March 3, 2019
It seems that the next button element only exists for survey pages but not trials. I would like to add a next button on my trial so that participants have to click it to advance to the next trial.

Set up a regular <text> element to serve as your next button, have the trial display it along with the other stimuli and define it as the trial's /validresponse:

<block example>
/ trials = [1-4 = exampletrial]
</block>

<trial exampletrial>
/ inputdevice = mouse
/ stimulusframes = [1=stimulus, nextbutton]
/ validresponse = (nextbutton)
</trial>

<text stimulus>
/ items = ("A", "B", "C", "D")
</text>

<text nextbutton>
/ items = ("NEXT >>")
/ size = (8%, 4%)
/ position = (80%, 90%)
/ txbgcolor = grey
/ vjustify = center
</text>




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search