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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
mk1124 - 8 Years Ago
Dave - 8 Years Ago
mk1124 - 8 Years Ago
             thanks! try it!
mk1124 - 8 Years Ago
mk1124 - 8 Years Ago
Dave - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search