Randomizing slider default response value


Author
Message
mk1124
mk1124
Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)
Group: Forum Members
Posts: 4, Visits: 11
Hi, I am trying to randomizing default response value in Slider element.
I wrote this code and it can set random value on default response, but such randomizing is successful in the first question only.
How can I randomize default response value in each question?

----

<picture faceSet1>
/ items = faceSet1
/ position = (30,30)
/ select = faceOrder1
/ height = 500px
/ erase = false
</picture>

<item faceSet1>
/ 1="0.jpg"
/ 2="1.jpg"
/ 3="2.jpg"
</item>

<list faceOrder1>
/ items = (1-3)
/ replace = false
/ selectionmode = random
/ selectionrate = always
</list>

<slider trustRate1>
/ labels = ("1", 100)
/ fontstyle = ("Meiryo",1.5%)
/ slidersize = (30,10)
/ position = (10,60)
/ showticks = false
/ range = (1,100)
/ required = true
/ defaultresponse = list.sliderrandom.nextvalue
</slider>

<list sliderRandom>
/ items = (1-100)
/ selectionmode = random
/ replace = true
/ selectionrate = always
</list>

<surveypage face1>
/ questions = [1=trustRate1]
/ stimulustimes =[1=faceSet1]
/ showbackbutton = false
</surveypage>

<survey faceRating1>
/ pages = [1-3=face1]
</survey>

Tags
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: 103K
mk1124 - Tuesday, November 29, 2016
Hi, I am trying to randomizing default response value in Slider element.
I wrote this code and it can set random value on default response, but such randomizing is successful in the first question only.
How can I randomize default response value in each question?

----

<picture faceSet1>
/ items = faceSet1
/ position = (30,30)
/ select = faceOrder1
/ height = 500px
/ erase = false
</picture>

<item faceSet1>
/ 1="0.jpg"
/ 2="1.jpg"
/ 3="2.jpg"
</item>

<list faceOrder1>
/ items = (1-3)
/ replace = false
/ selectionmode = random
/ selectionrate = always
</list>

<slider trustRate1>
/ labels = ("1", 100)
/ fontstyle = ("Meiryo",1.5%)
/ slidersize = (30,10)
/ position = (10,60)
/ showticks = false
/ range = (1,100)
/ required = true
/ defaultresponse = list.sliderrandom.nextvalue
</slider>

<list sliderRandom>
/ items = (1-100)
/ selectionmode = random
/ replace = true
/ selectionrate = always
</list>

<surveypage face1>
/ questions = [1=trustRate1]
/ stimulustimes =[1=faceSet1]
/ showbackbutton = false
</surveypage>

<survey faceRating1>
/ pages = [1-3=face1]
</survey>

You need to run your surveypage via a <block>, not via a <survey>

<block faceRating1>
/ trials = [1-3=face1]
</block>
mk1124
mk1124
Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)
Group: Forum Members
Posts: 4, Visits: 11
Dave - Tuesday, November 29, 2016
mk1124 - Tuesday, November 29, 2016
Hi, I am trying to randomizing default response value in Slider element.
I wrote this code and it can set random value on default response, but such randomizing is successful in the first question only.
How can I randomize default response value in each question?

----

<picture faceSet1>
/ items = faceSet1
/ position = (30,30)
/ select = faceOrder1
/ height = 500px
/ erase = false
</picture>

<item faceSet1>
/ 1="0.jpg"
/ 2="1.jpg"
/ 3="2.jpg"
</item>

<list faceOrder1>
/ items = (1-3)
/ replace = false
/ selectionmode = random
/ selectionrate = always
</list>

<slider trustRate1>
/ labels = ("1", 100)
/ fontstyle = ("Meiryo",1.5%)
/ slidersize = (30,10)
/ position = (10,60)
/ showticks = false
/ range = (1,100)
/ required = true
/ defaultresponse = list.sliderrandom.nextvalue
</slider>

<list sliderRandom>
/ items = (1-100)
/ selectionmode = random
/ replace = true
/ selectionrate = always
</list>

<surveypage face1>
/ questions = [1=trustRate1]
/ stimulustimes =[1=faceSet1]
/ showbackbutton = false
</surveypage>

<survey faceRating1>
/ pages = [1-3=face1]
</survey>

You need to run your surveypage via a <block>, not via a <survey>

<block faceRating1>
/ trials = [1-3=face1]
</block>



mk1124
mk1124
Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)
Group: Forum Members
Posts: 4, Visits: 11
thanks! try it!
mk1124
mk1124
Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)Partner Member (693 reputation)
Group: Forum Members
Posts: 4, Visits: 11
Dave - Tuesday, November 29, 2016
mk1124 - Tuesday, November 29, 2016
Hi, I am trying to randomizing default response value in Slider element.
I wrote this code and it can set random value on default response, but such randomizing is successful in the first question only.
How can I randomize default response value in each question?

----

<picture faceSet1>
/ items = faceSet1
/ position = (30,30)
/ select = faceOrder1
/ height = 500px
/ erase = false
</picture>

<item faceSet1>
/ 1="0.jpg"
/ 2="1.jpg"
/ 3="2.jpg"
</item>

<list faceOrder1>
/ items = (1-3)
/ replace = false
/ selectionmode = random
/ selectionrate = always
</list>

<slider trustRate1>
/ labels = ("1", 100)
/ fontstyle = ("Meiryo",1.5%)
/ slidersize = (30,10)
/ position = (10,60)
/ showticks = false
/ range = (1,100)
/ required = true
/ defaultresponse = list.sliderrandom.nextvalue
</slider>

<list sliderRandom>
/ items = (1-100)
/ selectionmode = random
/ replace = true
/ selectionrate = always
</list>

<surveypage face1>
/ questions = [1=trustRate1]
/ stimulustimes =[1=faceSet1]
/ showbackbutton = false
</surveypage>

<survey faceRating1>
/ pages = [1-3=face1]
</survey>

You need to run your surveypage via a <block>, not via a <survey>

<block faceRating1>
/ trials = [1-3=face1]
</block>

I found another issue about Slider element.

In Windows 7, when a mouse is on a slider button, slider value appear.
But, I would like to use slider like VAS and to make slider value invisible. Is it possible?


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: 103K
mk1124 - Sunday, December 04, 2016
Dave - Tuesday, November 29, 2016
mk1124 - Tuesday, November 29, 2016
Hi, I am trying to randomizing default response value in Slider element.
I wrote this code and it can set random value on default response, but such randomizing is successful in the first question only.
How can I randomize default response value in each question?

----

<picture faceSet1>
/ items = faceSet1
/ position = (30,30)
/ select = faceOrder1
/ height = 500px
/ erase = false
</picture>

<item faceSet1>
/ 1="0.jpg"
/ 2="1.jpg"
/ 3="2.jpg"
</item>

<list faceOrder1>
/ items = (1-3)
/ replace = false
/ selectionmode = random
/ selectionrate = always
</list>

<slider trustRate1>
/ labels = ("1", 100)
/ fontstyle = ("Meiryo",1.5%)
/ slidersize = (30,10)
/ position = (10,60)
/ showticks = false
/ range = (1,100)
/ required = true
/ defaultresponse = list.sliderrandom.nextvalue
</slider>

<list sliderRandom>
/ items = (1-100)
/ selectionmode = random
/ replace = true
/ selectionrate = always
</list>

<surveypage face1>
/ questions = [1=trustRate1]
/ stimulustimes =[1=faceSet1]
/ showbackbutton = false
</surveypage>

<survey faceRating1>
/ pages = [1-3=face1]
</survey>

You need to run your surveypage via a <block>, not via a <survey>

<block faceRating1>
/ trials = [1-3=face1]
</block>

I found another issue about Slider element.

In Windows 7, when a mouse is on a slider button, slider value appear.
But, I would like to use slider like VAS and to make slider value invisible. Is it possible?


> In Windows 7, when a mouse is on a slider button, slider value appear.

This is the intended default behavior. To suppress this, set the <slider>'s /showtooltips attribute to false.

<slider myslider>
...
/ showtooltips = false
</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