+x+xIt mostly seems to work, however, if I set it up like this (with a separate block for fillers and their respective contexts - I realized every filler only has a single context), the branch does not seem to work correctly. What it does is select normal target items even for the filler trials. What may be the reason for this? Why would you set up your fillers as a *block* if you want a filler presented after each target *trial*? That doesn't make sense.
> What it does is select normal target items even for the filler trials. What may be the reason for this?
a) I cannot answer this without seeing your actual code.
b) You need to set up *separate* <text>, <item>, etc. elements for your filler items and have your filler trials display those. You can't use the existing *target* text elements for this.
I'll post the basic makeup of my code without the actual sentences, as those are in Hungarian anyway:
*********************************
survey quesitons
*********************************
<textbox q1>
/caption = "Jelige"
/ fontstyle = ("Arial", 3%, true)
</textbox>
<textbox q2>
/caption = "Életkor"
/ fontstyle = ("Arial", 3%, true)
</textbox>
<radiobuttons q3>
/ caption = "Magyar anyanyelvű vagyok."
/ options = ("Nem", "Igen")
/ optionvalues = ("nem", "igen")
/ orientation = horizontal
/ fontstyle = ("Arial", 3%, true)
</radiobuttons>
<radiobuttons q4>
/caption = "A szüleim is mindketten magyar anyanyelvűek."
/options = ("Nem", "Igen")
/ optionvalues = ("nem", "igen")
/ fontstyle = ("Arial", 3%, true)
/orientation = horizontal
</radiobuttons>
*********************************
survey page
*********************************
<surveypage survey>
/caption = "Adatok"
/ questions=[1=q1; 2=q2; 3=q3; 4=q4;]
/ fontstyle = ("Arial", 3%, true)
/ showquestionnumbers = false
/ showpagenumbers = false
/ showbackbutton=false
/ finishlabel = "Tovább"
</surveypage>
*********************************
TARGET STIMULI
*********************************
<text target>
/ items = target_items
/position = (50%, 35%)
/ fontstyle = ("Arial", 3%, true)
/ txbgcolor = (255, 255, 255)
/ size = (100%, 5%)
/ erase = true(255, 255, 255)
</text>
<item target_items>
......
</item>
<text context_a>
/ items = context_a_items
/ position = (50%, 25%)
/ select = text.target.currentindex
</text>
<item context_a_items>
.........
</item>
<text context_b>
/ items = context_b_items
/ position = (50%, 25%)
/ select = text.target.currentindex
</text>
<item context_b_items>
.............
</item>
<text filler>
/ items = target_items
/position = (50%, 35%)
/ fontstyle = ("Arial", 3%, true)
/ txbgcolor = (255, 255, 255)
/ size = (100%, 5%)
/ erase = true(255, 255, 255)
</text>
<item filler_items>
.............
</item>
<text context_filler>
/ items = context_a_items
/ position = (50%, 25%)
/ select = text.filler.currentindex
</text>
<item context_filler_items>
...........
</item>
<likert ca>
/ stimulusframes = [1=target, context_a]
/ anchors = [1="rossz", 7="tökéletes"]
/ numpoints = 7
/ anchorwidth = 4%
/ position = (50%, 75%)
/ branch = [likert.filler]
</likert>
<likert cb>
/ stimulusframes = [1=target, context_b]
/ anchors = [1="rossz", 7="tökéletes"]
/ numpoints = 7
/ anchorwidth = 4%
/ position = (50%, 75%)
/branch = [likert.filler]
</likert>
<likert filler>
/ stimulusframes = [1=filler, context_filler]
/ anchors = [1="unnatural", 7="natural"]
/ numpoints = 7
/ anchorwidth = 4%
/ position = (50%, 75%)
</likert>
*********************************
training
*********************************
*********************************
TRIALS
*********************************
*********************************
PROBAK TRIALS
********************************
*********************************
INSTRUCTIONS
*********************************
<page intro>
</page>
<page desc1>
</page>
<page end>
</page>
<page bev>
</page>
<page veg>
</page>
<instruct>
/ inputdevice = mouse
/ prevlabel = "Vissza"
/ nextlabel = "Tovább"
/ lastlabel = "Tovább"g/color = (181, 181, 181)
/ windowsize = (1024, 768)
/ screencolor = (245, 245, 245)
</instruct>
*********************************
BLOCKS
*********************************
<survey survey>
/pages = [1 = survey]
</survey>
<block ratingblock>
/ trials = [1-16 = noreplace(ca,cb)]
</block>
*********************************
EXPERIMENT
*********************************
<expt>
/ blocks = [1=survey; 2=ratingblock]
/ postinstructions = (end)
</expt>
*********************************
DATA
*********************************
<data>
/columns = [date, time, subject, blockcode, trialcode, trialnum, latency, stimulusitem, stimulusnumber, response]
/format=tab
</data>
<defaults>
/ screencolor = (255, 255, 255)
/ fontstyle = ("Courier New", 14pt)
/ inputdevice = mouse
</defaults>
That's what it looks like. So what happens is that the code switches to the likert filler part on every second stimulus (I know this, because I left the filler likert radio buttons language on english, so I can see whether it works), but what actually gets displayed is the target items. So with 16 items, all 16 items get displayed twice, which is obviously not what I want to do.