Millisecond Forums

Display Slider Elements randomly - always 4 per page

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

By SpoHo - 6/10/2014

Hi!

I have 24 sliders and I want to display them in groups of 4 per surveypage.
How can I display them randomly over different pages?

my approach was:


<list sliderlist>
/items = (slider1, slider2, slider3, ..)
/selectionmode = noreplacenorepeat
</sliderlist>

<surveypage testpage>
/questions = [1=lists.sliderlist.nextvalue]
</surveypage>

but I can't get it to work. Could you help me out on this?

Thanks a lot, the support here is fantastic!!
By Dave - 6/10/2014

Unfortunately there is no way to do this that I could currently recommend in good faith -- all theoretical options have considerable drawbacks, flaws and risks attached to them.
By SpoHo - 6/11/2014

hm ok ! but I'm sure it would be possible to make a preselection per page manually, and let them display randomly, right?

something like:

<surveypage page>
/questions = [1=noreplacenorepeat(option1,option2,option3,option4); 2=noreplacenorepeat(option1,option2, option3, option4); 3=...]
</surveypage>

the reason why I need this, is because I did not find any solution to build a multi "likert" slider system like in this picture:

http://www.emeraldinsight.com/content_images/fig/0080220203002.png

something like that is not possible with inquisit yet, right?
By Dave - 6/11/2014

Regarding the code example in your last reply, that's not how you would do this. The selection pools you define there are *all independent of each other*. Instead you'd express this correctly as

<survey mysurvey>
/ pages = [1=mypage]
</survey>

<surveypage mypage>
/ questions = [1-4=noreplace(a,b,c,d)]
</surveypage>

<slider a>
/ caption = "A"
</slider>

<slider b>
/ caption = "B"
</slider>

<slider c>
/ caption = "C"
</slider>

<slider d>
/ caption = "D"
</slider>

Regarding your question about building a grid- or matrix-type layout: It is possible to build if you're willing to fiddle around with proper positioning and the like, but getting it right is not exactly convenient. See e.g. https://www.millisecond.com/forums/FindPost1871.aspx


By SpoHo - 6/11/2014

perfect, thanks Dave!