Millisecond Forums

Couldn't figure out where the error is..

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

By gsu - 1/28/2013

Hi Dave,


I'm trying to create a new block but Inquisit keeps giving me an error. I checked everything but couldn't find where the problem is. I'd really appreciate your help.


The error is "could not locate element 'liking01'. and 'trial 1 is unassigned'. I'm using a Mac if it's related at all. My syntax for the block is:











<block liking>


 


/ preinstructions = (liking_instruct)


 


/ trials = [1-6 = sequence(liking01)]


 


</block>


 




 


<page liking_instruct>


 


^^You will now be asked to answer a series of questions
asking how you feel about each of the other players.


^^Although you have not had direct interaction with them,
please give your best response. Your answers will be completely
confidential."


 


</page>


 




 


 


<text liking_left>


 


/ items = liking_left_items


 


/ fontstyle = ("Arial", 14pt, true, false, false,
false, 5)


 


/ position = (13,68)


 


/ erase = true(255, 255, 255)


 


/ select = sequence


 


</text>


 


 


 


<item liking_left_items>


 


/1 = " I don’t like PLAYER A at all "


 


/2 = " I don’t like PLAYER C at all "


 


/3 = " PLAYER A doesn’t like me at all "


 


/4 = " PLAYER C doesn’t like me at all "


 


/5 = " PLAYER A doesn’t like PLAYER C at all "


 


/6 = " PLAYER C doesn’t like PLAYER A at all "


 


</item>


 


 


 


<text liking_right>


 


/ items = liking_right_items


 


/ fontstyle = ("Arial", 14pt, true, false, false,
false, 5)


 


/ position = (87,68)


 


/ erase = true(255, 255, 255)


 


/ select = current(liking_left)


 


</text>


 




 


<item liking_right_items>


 


/1 = " I like PLAYER A a lot "


 


/2 = " I like PLAYER C a lot "


 


/3 = " PLAYER A likes me a lot "


 


/4 = " PLAYER C likes me a lot "


 


/5 = " PLAYER A likes PLAYER C a lot "


 


/6 = " PLAYER C likes PLAYER A a lot "


 


</item>


 


 


 


<likert liking01>


 


/ buttonvalues = [1="1"; 2="2";
3="3"; 4="4"; 5="5"; 6="6";
7="7"]


 


/ stimulusframes = [1=liking_left, liking_right]


 


/ anchorwidth = 10%


 


/ mouse = true


 


/ numpoints = 7


 


/ position = (50, 60)


 


</likert>


 


Thanks in advance!




By Dave - 1/28/2013

You need to get rid of the stray double-quote character (") in your <paqe> element.