Millisecond Forums

survey errors

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

By katek - 2/10/2014

Hi, I am trying to run a survey with mostly slider questions. I did the tutorial on surveys and I have read through much of the documentation. I keep going through my script but I cannot figure out what is wrong. It all looks okay to me. here are the error messages I am getting,

survey.news ideology pages Could not locate element 'news'.
survey. news ideology trials trial 1 is unassigned.

here is my script:

<slider news>
/ caption = "How oftern do you follow U.S. political news on average?"
/ labels = ("rarely", "very frequently")
/ range = (1, 10)
/ slidersize = (60%, 5%)
/ showtooltips = false
</slider>

<slider american>
/ caption = "How much do you identify as an American?"
/ labels = ("not at all", "very much")
/ range = (1, 10)
/ slidersize = (60%, 5%)
/ showtooltips = false
</slider>

<slider us>
/ caption = "How much do you love the United States?"
/ labels = ("not at all", "a great deal")
/ range = (1, 10)
/ slidersize = (60%, 5%)
/ showtooltips = false
</slider>

<slider political>
/ caption = "Which political party do you identify with more strongly?"
/ labels = ("strong Democrat", "strong Republican")
/ range = (1, 10)
/ slidersize = (60%, 5%)
/ showtooltips = false
</slider>

<slider ideology>
/ caption = "How would you describe your political ideology?"
/ labels = ("very liberal", "very conservative")
/ range = (1, 10)
/ slidersize = (60%, 5%)
/ showtooltips = false
</slider>

<textbox age>
/ caption = "Age"
/ mask = positiveinteger
/ range = (7, 110)
</textbox>

<dropdown gender>
/ caption = "Gender"
/ options = ("female", "male")
</dropdown>

<surveypage news ideology>
/ caption = "Please answer the following questions about yourself."
/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0)
/ questions = [1=news; 2=american; 3=us; 4=political; 5=ideology; 6=age; 7=gender] 
</surveypage>

<survey news ideology>
/ pages = [1=news ideology]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
</survey>

thanks for the help. it's much appreciated!

Kate

By Dave - 2/10/2014

You may not use spaces in any element names:

<survey news ideology>
By katek - 2/10/2014

awesome! thanks!