Millisecond Forums

Slider Problem: strange overlapping


https://www.millisecond.com/forums/Topic19983.aspx

By AnthonyRomyn - 10/28/2016

Hi All,
I've programmed a task to show a single slider question on each page, but something strange is happening.  I'll put my code at the bottom of the email and for now I'll explain what's happening.  For simplicity's sake, let's say I have 10 questions.  If I set /questions on the surveypage to noreplace(q1,q2,q3,q4,q5,q6,q7,q8,q9,q10) I get a weird effect:

http://www.millisecond.com/forums/uploads/images/e1c3fce5-0dd5-4555-b460-d072.png
The key here is that it only happens if I include q6 in combination with any other question(s).  So if I run everything but q6 it's fine, if I run only q1 (or any other question) and q6 it still happens.  Here's a picture of how it should look:
http://www.millisecond.com/forums/uploads/images/7f24c52b-f640-4389-8556-2d20.png

The problem is, that though I know this piece of code is poorly constructed, I don't see any reason why q6 should be bugging out like this.  Thanks in advance for any help!  Here's the code:

<expt FrequencyCondition>
/ blocks = [1=frequency]
</expt>

<survey frequency>
/ pages = [1-10=page1]
/ showbackbutton = false
/ screencolor = white
/ finishlabel = "Finished"
/ timeout = 1200000
</survey>

<surveypage page1>
/ questions= [1-10=noreplace(q1,q2,q3,q4,q5,q6,q7,q8,q9,q10)]
/ showbackbutton = false
/ showpagenumbers = false
/ showquestionnumbers = false
/ recorddata = true
</surveypage>
<slider q1>
/ caption = "<%item.statements_condition1.1%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q2>
/ caption = "<%item.statements_condition1.2%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q3>
/ caption = "<%item.statements_condition1.3%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q4>
/ caption = "<%item.statements_condition1.4%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q5>
/ caption = "<%item.statements_condition1.5%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q6>
/ caption = "<%item.statements_condition1.6%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q7>
/ caption = "<%item.statements_condition1.7%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q8>
/ caption = "<%item.statements_condition1.8%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q9>
/ caption = "<%item.statements_condition1.9%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>
<slider q10>
/ caption = "<%item.statements_condition1.10%>"
/ range = (0, 100)
/ labels = ("0","<%values.valuename1%>")
/ position = (20%,20%)
/ fontstyle = ("Times New Roman", 4%, false, false, false, false, 5, 0)
/ slidersize = (50%, 30%)
/ increment = 1
/ defaultresponse = "0"
</slider>

<item statements_condition1>
/1="If a person is strong, it is safe to assume that they are also American

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/2="If a person is brave, it is safe to assume that they are also American

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/3="If a person is just, it is safe to assume that they are also American

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/4="If a person is patriotic, it is safe to assume that they are also American

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/5="If a person is hard-working, it is safe to assume that they are also American

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/6="If a person is unaware of the rest of the world, it is safe to assume that they are also American

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/7="If a person feels superior, it is safe to assume that they are also American

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/8="If a person is moral, it is safe to assume that they are also Christian

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/9="If a person is kind and selfless, it is safe to assume that they are also Christian

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
/10="If a person is pure, it is safe to assume that they are also Christian

Of the <%values.valuename1%> people in <%dropdown.state.response%>, how many do you think this applies for?

"
</item>


By AnthonyRomyn - 10/30/2016

Wonderful!  Thanks so much Dave!