Slider defaultresponse issue


Author
Message
shadowelv
shadowelv
Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)
Group: Forum Members
Posts: 2, Visits: 7
thank u very much. u helped us a lot.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You do

***********************************************************************
Configuration
***********************************************************************
<values>
/ sliderresponse = 0
</values>


<expressions>
/ headline = ""
/ captiondscore = "Bitte bewegen Sie diesen Schieberegler auf die Position ihres Testergebnisses (vorherige Seite).
"

/captionTasks = "Die Position des Schiebereglers zeigt wie positiv/negativ Ihre spontanen Assoziationen zum Thema Sporttreiben im Test vorher ausgefallen sind.

In den folgenden Aufgaben verschieben Sie bitte den Schieberegler, entsprechend dem was Sie denken, nach rechts oder nach links.
"

/ captionslider1.0 = "Wenn Sie nun also einen Moment dar¸ber
"
/ captionslider1.1 = "nachdenken,"
/ captionslider1.2 = " f¸r wie gesund/vern¸nftig/n¸tzlich/lohnend halten Sie Sporttreiben?"

/ labelleftslider1 = "¸berhaupt nicht"
/ labelrightslider1 = "vollkommen"
/ labelCognition = "gesund/vern¸nftig/
n¸tzlich/lohnend"



/ captionslider2.0 = "Wenn Sie jetzt daran denken Sport zu treiben, wie entspannt/zufrieden/froh/wohl
"
/ captionslider2.1 ="f¸hlen"
/ captionslider2.2 ="Sie sich dann?"

/ labelleftslider2 = "¸berhaupt nicht"
/ labelrightslider2 = "vollkommen"
/labelAffect = "entspannt/zufrieden/
froh/wohl"


/ captionslider3.0 = "Wenn Sie jetzt daran denken Sport zu treiben, wie sehr
"
/ captionslider3.1 = "dr‰ngt es Sie"
/ captionslider3.2 = "bald wieder einmal Sport zu treiben?"

/ labelleftslider3 = "¸berhaupt nicht"
/ labelrightslider3 = "¸beraus stark"
</expressions>

***********************************************************************
Experiment
***********************************************************************

<survey multiplesliders>
/ pages = [1=multiplesliders1; 2 =instruct; 3=multiplesliders2; 4=multiplesliders3; 5=multiplesliders4]
/ responsefontstyle = ("Courier New", 1.5%, true, false, false, false, 5, 0)
/ showpagenumbers = false
/ showbackbutton = false
/ nextbuttonposition = (95%,95%)
/ nextlabel = "Weiter"
/ finishlabel = "Weiter"
</survey>

<surveypage multiplesliders1>
/ ontrialend = [values.sliderresponse=slider.dscore.response]
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore]
/ showquestionnumbers = false
</surveypage>


<surveypage instruct>
/ ontrialend = [values.sliderresponse=slider.dscore.response]
/questions = [1=dscore; 2=instruct]
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ showquestionnumbers = false
</surveypage>

<surveypage multiplesliders2>
/ ontrialend = [values.sliderresponse=slider.dscore.response]
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore; 2=slider1; 3=label1left; 4=label1right; 5= label1left_Cog; 6=label1right_Cog; 7=captionslider1.1; 8=captionslider1.2; 9=instruct]
/ showquestionnumbers = false
</surveypage>

<surveypage multiplesliders3>
/ ontrialend = [values.sliderresponse=slider.dscore.response]
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore; 2=slider1; 3=label1left; 4=label1right; 5=slider2; 6=label2left; 7=label2right; 8= label1left_Cog; 9=label1right_Cog; 10= label1left_Affect; 11= label1right_Affect; 12=captionslider1.1; 13=captionslider1.2; 14=captionslider2.1; 15=captionslider2.2; 16=instruct]
/ showquestionnumbers = false
</surveypage>

<surveypage multiplesliders4>
/ ontrialend = [values.sliderresponse=slider.dscore.response]
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore; 2=slider1; 3=label1left; 4=label1right; 5=slider2; 6=label2left; 7=label2right; 8=slider3; 9=label3left; 10=label3right; 11= label1left_Cog; 12=label1right_Cog; 13= label1left_Affect; 14= label1right_Affect; 15=captionslider1.1; 16=captionslider1.2; 17=captionslider2.1; 18=captionslider2.2; 19=captionslider3.1; 20=captionslider3.2; 20=instruct]
/ showquestionnumbers = false
</surveypage>

<slider dscore>
/ caption = "<% expressions.captiondscore %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = values.sliderresponse
/ slidersize = (70%, 5%)
/ position = (12%, 5%)
/ showtooltips = true
/ showticks = true
</slider>
slider.dscore.response
<slider slider1>
/ caption = "<% expressions.captionslider1.0 %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = slider.slider1.response
/ slidersize = (70%, 5%)
/ position = (12%, 37%)
/ showtooltips = true
/ showticks = true
</slider>

<slider slider2>
/ caption = "<% expressions.captionslider2.0 %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = slider.slider2.response
/ slidersize = (70%, 5%)
/ position = (12%, 57%)
/ showtooltips = true
/ showticks = true
</slider>

<slider slider3>
/ caption = "<% expressions.captionslider3.0 %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = slider.slider3.response
/ slidersize = (70%, 5%)
/ position = (12%, 77%)
/ showtooltips = true
/ showticks = true
</slider>



<caption captionslider1.1 >
/ caption = "<% expressions.captionslider1.1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 31.8%, 37% )
/ txcolor = (0, 0, 0)
</caption>

<caption captionslider1.2 >
/ caption = "<% expressions.captionslider1.2 %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ position = ( 38%, 37% )
/ txcolor = (0, 0, 0)
</caption>

<caption label1left>
/ caption = "<% expressions.labelleftslider1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 2%, 41% )
</caption>

<caption label1right>
/ caption = "<% expressions.labelrightslider1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 86%, 41% )
</caption>

<caption label1left_Cog>
/ caption = "<% expressions.labelCognition %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (2%, 43%)
/ txcolor = (0, 0, 0)
</caption>

<caption label1right_Cog>
/ caption = "<% expressions.labelCognition %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (86%, 43%)
/ txcolor = (0, 0, 0)
</caption>

######AFFECT####

<caption captionslider2.1>
/ caption = "<% expressions.captionslider2.1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 50.3%, 57% )
/ txcolor = (0, 0, 0)
</caption>

<caption captionslider2.2>
/ caption = "<% expressions.captionslider2.2 %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ position = (53.5%, 57% )
/ txcolor = (0, 0, 0)
</caption>

<caption label2left>
/ caption = "<% expressions.labelleftslider2 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 2%, 61% )
</caption>

<caption label2right>
/ caption = "<% expressions.labelrightslider2 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 86%, 61% )
</caption>

<caption label1left_Affect>
/ caption = "<% expressions.labelAffect %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (2%, 63%)
/ txcolor = (0, 0, 0)
</caption>

<caption label1right_Affect>
/ caption = "<% expressions.labelAffect %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (86%, 63%)
/ txcolor = (0, 0, 0)
</caption>

#####Konativ####

<caption captionslider3.1>
/ caption = "<% expressions.captionslider3.1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 38 %, 77% )
/ txcolor = (0, 0, 0)
</caption>

<caption captionslider3.2>
/ caption = "<% expressions.captionslider3.2 %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ position = ( 44.8 %, 77% )
/ txcolor = (0, 0, 0)
</caption>

<caption label3left>
/ caption = "<% expressions.labelleftslider3 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 2%, 84% )
</caption>

<caption label3right>
/ caption = "<% expressions.labelrightslider3 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 86%, 84% )
</caption>

<caption instruct>
/caption = "<%expressions.captionTasks %>"
/ fontstyle = ("Verdana", 1.35%, false, true, false, false, 5, 0)
/ position = ( 12%, 23% )
</caption>

shadowelv
shadowelv
Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)Respected Member (422 reputation)
Group: Forum Members
Posts: 2, Visits: 7
i have the problem the other way round. The slider should remain in the last position it was set. i am new at Inquisit and i don't have such experience. maybe u can help me out with this?

this is the code i used. the 'default response'-problem is marked red


***********************************************************************
Configuration
***********************************************************************

<expressions>
/ headline = ""
/ captiondscore = "Bitte bewegen Sie diesen Schieberegler auf die Position ihres Testergebnisses (vorherige Seite).
"

/captionTasks = "Die Position des Schiebereglers zeigt wie positiv/negativ Ihre spontanen Assoziationen zum Thema Sporttreiben im Test vorher ausgefallen sind.

In den folgenden Aufgaben verschieben Sie bitte den Schieberegler, entsprechend dem was Sie denken, nach rechts oder nach links.
"

/ captionslider1.0 = "Wenn Sie nun also einen Moment dar¸ber
"
/ captionslider1.1 = "nachdenken,"
/ captionslider1.2 = " f¸r wie gesund/vern¸nftig/n¸tzlich/lohnend halten Sie Sporttreiben?"

/ labelleftslider1 = "¸berhaupt nicht"
/ labelrightslider1 = "vollkommen"
/ labelCognition = "gesund/vern¸nftig/
n¸tzlich/lohnend"



/ captionslider2.0 = "Wenn Sie jetzt daran denken Sport zu treiben, wie entspannt/zufrieden/froh/wohl
"
/ captionslider2.1 ="f¸hlen"
/ captionslider2.2 ="Sie sich dann?"

/ labelleftslider2 = "¸berhaupt nicht"
/ labelrightslider2 = "vollkommen"
/labelAffect = "entspannt/zufrieden/
froh/wohl"


/ captionslider3.0 = "Wenn Sie jetzt daran denken Sport zu treiben, wie sehr
"
/ captionslider3.1 = "dr‰ngt es Sie"
/ captionslider3.2 = "bald wieder einmal Sport zu treiben?"

/ labelleftslider3 = "¸berhaupt nicht"
/ labelrightslider3 = "¸beraus stark"
</expressions>

***********************************************************************
Experiment
***********************************************************************

<survey multiplesliders>
/ pages = [1=multiplesliders1; 2 =instruct; 3=multiplesliders2; 4=multiplesliders3; 5=multiplesliders4]
/ responsefontstyle = ("Courier New", 1.5%, true, false, false, false, 5, 0)
/ showpagenumbers = false
/ showbackbutton = false
/ nextbuttonposition = (95%,95%)
/ nextlabel = "Weiter"
/ finishlabel = "Weiter"
</survey>

<surveypage multiplesliders1>
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore]
/ showquestionnumbers = false
</surveypage>


<surveypage instruct>
/questions = [1=dscore; 2=instruct]
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ showquestionnumbers = false
</surveypage>

<surveypage multiplesliders2>
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore; 2=slider1; 3=label1left; 4=label1right; 5= label1left_Cog; 6=label1right_Cog; 7=captionslider1.1; 8=captionslider1.2; 9=instruct]
/ showquestionnumbers = false
</surveypage>

<surveypage multiplesliders3>
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore; 2=slider1; 3=label1left; 4=label1right; 5=slider2; 6=label2left; 7=label2right; 8= label1left_Cog; 9=label1right_Cog; 10= label1left_Affect; 11= label1right_Affect; 12=captionslider1.1; 13=captionslider1.2; 14=captionslider2.1; 15=captionslider2.2; 16=instruct]
/ showquestionnumbers = false
</surveypage>

<surveypage multiplesliders4>
/ caption = "<% expressions.headline %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ questions = [1=dscore; 2=slider1; 3=label1left; 4=label1right; 5=slider2; 6=label2left; 7=label2right; 8=slider3; 9=label3left; 10=label3right; 11= label1left_Cog; 12=label1right_Cog; 13= label1left_Affect; 14= label1right_Affect; 15=captionslider1.1; 16=captionslider1.2; 17=captionslider2.1; 18=captionslider2.2; 19=captionslider3.1; 20=captionslider3.2; 20=instruct]
/ showquestionnumbers = false
</surveypage>

<slider dscore>
/ caption = "<% expressions.captiondscore %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = slider.dscore.response
/ slidersize = (70%, 5%)
/ position = (12%, 5%)
/ showtooltips = true
/ showticks = true
</slider>


<slider slider1>
/ caption = "<% expressions.captionslider1.0 %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = slider.slider1.response
/ slidersize = (70%, 5%)
/ position = (12%, 37%)
/ showtooltips = true
/ showticks = true
</slider>

<slider slider2>
/ caption = "<% expressions.captionslider2.0 %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = slider.slider2.response
/ slidersize = (70%, 5%)
/ position = (12%, 57%)
/ showtooltips = true
/ showticks = true
</slider>

<slider slider3>
/ caption = "<% expressions.captionslider3.0 %>"
/ labels = ("-150~n|","~n.","~n.","~n.","~n.","-100~n|","~n.","~n.","~n.","~n.","-50~n|","~n.","~n.","~n.","~n."," 0,00~n|","~n.","~n.","~n.","~n.","+50~n|","~n.","~n.","~n.","~n.","+100~n|","~n.","~n.","~n.","~n.","+150~n|")
/ range = (-150, 150)
/ defaultresponse = slider.slider3.response
/ slidersize = (70%, 5%)
/ position = (12%, 77%)
/ showtooltips = true
/ showticks = true
</slider>



<caption captionslider1.1 >
/ caption = "<% expressions.captionslider1.1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 31.8%, 37% )
/ txcolor = (0, 0, 0)
</caption>

<caption captionslider1.2 >
/ caption = "<% expressions.captionslider1.2 %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ position = ( 38%, 37% )
/ txcolor = (0, 0, 0)
</caption>

<caption label1left>
/ caption = "<% expressions.labelleftslider1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 2%, 41% )
</caption>

<caption label1right>
/ caption = "<% expressions.labelrightslider1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 86%, 41% )
</caption>

<caption label1left_Cog>
/ caption = "<% expressions.labelCognition %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (2%, 43%)
/ txcolor = (0, 0, 0)
</caption>

<caption label1right_Cog>
/ caption = "<% expressions.labelCognition %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (86%, 43%)
/ txcolor = (0, 0, 0)
</caption>

######AFFECT####

<caption captionslider2.1>
/ caption = "<% expressions.captionslider2.1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 50.3%, 57% )
/ txcolor = (0, 0, 0)
</caption>

<caption captionslider2.2>
/ caption = "<% expressions.captionslider2.2 %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ position = (53.5%, 57% )
/ txcolor = (0, 0, 0)
</caption>

<caption label2left>
/ caption = "<% expressions.labelleftslider2 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 2%, 61% )
</caption>

<caption label2right>
/ caption = "<% expressions.labelrightslider2 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 86%, 61% )
</caption>

<caption label1left_Affect>
/ caption = "<% expressions.labelAffect %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (2%, 63%)
/ txcolor = (0, 0, 0)
</caption>

<caption label1right_Affect>
/ caption = "<% expressions.labelAffect %>"
/ fontstyle = ("Verdana", 1.2%, true, false, false, false, 5, 0)
/position = (86%, 63%)
/ txcolor = (0, 0, 0)
</caption>

#####Konativ####

<caption captionslider3.1>
/ caption = "<% expressions.captionslider3.1 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 38 %, 77% )
/ txcolor = (0, 0, 0)
</caption>

<caption captionslider3.2>
/ caption = "<% expressions.captionslider3.2 %>"
/ fontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ position = ( 44.8 %, 77% )
/ txcolor = (0, 0, 0)
</caption>

<caption label3left>
/ caption = "<% expressions.labelleftslider3 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 2%, 84% )
</caption>

<caption label3right>
/ caption = "<% expressions.labelrightslider3 %>"
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ position = ( 86%, 84% )
</caption>

<caption instruct>
/caption = "<%expressions.captionTasks %>"
/ fontstyle = ("Verdana", 1.35%, false, true, false, false, 5, 0)
/ position = ( 12%, 23% )


ydunham
ydunham
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 4, Visits: 1

Ah, got it--thanks for the quick reply, it's up and running perfectly.



-y


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K

If you want this to work, you *must* run your <surveypage> elements via the <block> element's /trials attribute. Do *not* use <survey> elements in such use cases.


Regards,


~Dave


ydunham
ydunham
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 4, Visits: 1

Hi,


I'm running a long series of questions in which each response is taken via a slider. I'm doing this by repeated calls to the same surveypage.


The issue I'm having is that I'd like every trial to reset the default response back to the middle of the slider, but the defaultresponse option only seems to do this the first time that surveypage is called; thereafter the slider remains in the last position it was in. I'm worried this will create some anchoring effects so I want to reset the slider to 50 after each response is recorded.


Any ideas about how to do this? I'm pasting the relevant code below, if that is helpful.


Thanks in advance!


-Yarrow


------------------------------------------------------------------------------------------------



<survey ratefacesBW>


/pages = [1=intro; 2-51=rateface; 52=endscreen]


/showpagenumbers = false


/showquestionnumbers = false


</survey>



<surveypage intro>


/caption = "You will see a series of faces.  For each face, please select the point along the scale where you think it belongs.  


Use the pictures at the endpoints as a guide.  When you are finished with each question, press the 'next' key to continue."


/nextlabel = "Continue"


/ showmousecursor = true


/showbackbutton = false


/ nextbuttonposition = (50, 50)


</surveypage>



<surveypage rateface>


/ questions = [1=facescale]


/ stimulusframes = [1=face; 1=leftanchor; 1=rightanchor]


/showbackbutton = false


/showmousecursor = true


/caption = "Select point along scale where face belongs."


/nextbuttonposition = (48, 95)


</surveypage>



<surveypage endscreen>


/caption = "You have completed this portion of the experiment. Please let the experimenter know that you are finished."  


/showbackbutton = false


/showmousecursor = true


/nextbuttonposition = (50, 50)


</surveypage>




<slider facescale>


/range = (1, 100)


/increment = 1


/ showticks = true


/slidersize = (300, 20)


/ size = (60%, 60%)


/position = (30%, 70%)


/defaultresponse = 50


</slider>




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search