Millisecond Forums

Error 'surveypage 1 is unassigned' and 'could not locate element 'agreement''

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

By Jenny - 10/29/2013

Hi,


I'm creating a script for my experiment and there is one error that I not understand. Below you can find part of my script and I get the following errors:


1. Element: surveypage.DVs; attitribute: questions; message: Could not locate element 'agreement'


2. Element: surveypage.DVs; attitribute: questions; message: Surveypage 1 is unassigned


I do not understand why it can't locate the element 'agreement', because it can locate the other elements (protest and honest) that look exactly the same.



<surveypage DVs>


/ fontstyle = ("Arial", -17, true, false, false, false, 5, 0)


/ subcaptionfontstyle = ("Arial", -17, false, false, false, false, 5, 0)


/ showpagenumbers = false


/ questions = [1=agreement; 2=honest; 3=protest]


/ nextlabel = "Volgende"


/ finishlabel = "Volgende"


/ showbackbutton = false


/ showquestionnumbers = false


</surveypage>



<text agreement>


/ items = ("In hoeverre ben je het eens met de verdeling die de andere groepsleden gaven?")


/ area = (1000, 100)


/ fontstyle = ("Calibri", 3%, false, true, false, false, 5, 0)


/ txcolor = (255, 255, 255)


/ txbgcolor = (0, 0, 0)


/ position = (50,38)


/ hjustify = left


</text>



<likert agreement>


/ stimulusframes=[1 = agreement]


/ anchors=[1="zeer oneens"; 2="oneens"; 3="beetje oneens"; 4="niet oneens/niet eens"; 5="beetje eens"; 6 = "eens"; 7 = "zeer eens"]


/ position=(50, 90)


/ numpoints = 7


</likert>



<text honest>


/ items = ("Hoe eerlijk vind je de verdeling die de andere groepsleden gaven?")


/ area = (1000, 100)


/ fontstyle = ("Calibri", 3%, false, true, false, false, 5, 0)


/ txcolor = (255, 255, 255)


/ txbgcolor = (0, 0, 0)


/ position = (50,38)


/ hjustify = left


</text>



<likert honest>


/ stimulusframes=[1 = honest]


/ anchors=[1="zeer oneerlijk"; 2="oneerlijk"; 3="beetje oneerlijk"; 4="niet oneerlijk/niet eerlijk"; 5="beetje eerlijk"; 6 = "eerlijk"; 7 = "zeer eerlijk"]


/ position=(50, 90)


/ numpoints = 7


</likert>



<text protest>


/ items = ("In hoeverre wil je tijdens de discussie zeggen dat je de verdeling die de groepsleden gaven oneerlijk vond?")


/ area = (1000, 100)


/ fontstyle = ("Calibri", 3%, false, true, false, false, 5, 0)


/ txcolor = (255, 255, 255)


/ txbgcolor = (0, 0, 0)


/ position = (50,38)


/ hjustify = left


</text>



<likert protest>


/ stimulusframes=[1 = protest]


/ anchors=[1="helemaal niet"; 2="niet"; 3="beetje niet"; 4="neutraal"; 5="beetje wel"; 6 = "wel"; 7 = "helemaal wel"]


/ position=(50, 90)


/ numpoints = 7


</likert>



Thank you very much in advance!


Kind regards,


Jenny 

By Dave - 10/29/2013

You cannot display <likert> elements on a <surveypage>. A <likert> is a special kind of <trial>. The same is true for <surveypage>. So, in essence, you are trying to have a <trial> display several other <trial>s, which does not make sense.

By Jenny - 11/2/2013

Ah okay, I changed the script and it's works fine now. Thanks!