Failed to randomly select the text itme (only the first one keeps showing up)


Author
Message
sodagreen_l
sodagreen_l
Associate Member (229 reputation)Associate Member (229 reputation)Associate Member (229 reputation)Associate Member (229 reputation)Associate Member (229 reputation)Associate Member (229 reputation)Associate Member (229 reputation)Associate Member (229 reputation)Associate Member (229 reputation)
Group: Forum Members
Posts: 15, Visits: 29
Dear Dave,

We want to introduce participants to a target. For each participant, the name will be randomly drawn from two possible names. We also want to present the other name at some point of the experiment.

Here is the gist of our syntax that we hope can achieve the above goals.

<expt>
/ blocks = [1=myblock]
</expt>

<block myblock>
/ trials = [1 = target; 2=noveltarget]
</block>

<page page1>
</page>

<trial target>
/ stimulustimes=[0=targetname;3000=targetname]
/ timeout=3000
/ posttrialpause = 1000
</trial>

<trial noveltarget>
/ stimulustimes = [0 = noveltargetname;3000=noveltargetname]
/ timeout=3000
/ posttrialpause = 1000
</trial>

<text twopossiblenames>
/ items=("Akar","Toma")
/ select=noreplace
/ selectionrate = experiment
</text>

<text targetname>
/ items = ("This is <%text.twopossiblenames.currentitem%>")
/ position = (50%, 60%)
/ fontstyle = ("Arial", 16pt, true, false, false, false, 5)
</text>

<text noveltargetname>
/ items = ("This is <%text.twopossiblenames.nextvalue%>")
/ position = (50%, 60%)
/ fontstyle = ("Arial", 16pt, true, false, false, false, 5)
</text>

However, there seems to be two problems.
(1) The target name will always be “Akar”. It will never be randomly selected to be “Toma”.
(2) How can we present the other one that is not selected? Because we want to present it as a prime word somewhere in our Evaluative Priming Task. The text element has an attribute “currentitem”. But it does not have an attribute “next item”, only “next value” or “next index”. 

I have been struggled with it for the past 6 hours, it would be very helpful if you could provide any suggestions or insight!

Look forward to hearing back from you. Thank you so much :)

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search