text item and slider on same page


Author
Message
LeaN
LeaN
Associate Member (223 reputation)Associate Member (223 reputation)Associate Member (223 reputation)Associate Member (223 reputation)Associate Member (223 reputation)Associate Member (223 reputation)Associate Member (223 reputation)Associate Member (223 reputation)Associate Member (223 reputation)
Group: Forum Members
Posts: 2, Visits: 12
Hi

In my survey, I would like to show a text item and a slider on the same page. I have some difficulty with it, because the text item has a very specific color specified in the text syntax and by color lists.

Right now, the text element and the slider are on different pages and shown in a sequence. This is the syntax right now:

<slider slider_trial1>
/ caption="How easy was it for you to read the prior statement?"
/ labels=("very hard", "very easy")
/ range = (1, 50)
/ slidersize=(60%, 5%)
/ position=(15%, 40%)
/ showticks = false
/ increment = 1
/ required = true
</slider>

<surveypage slider_trial1>
/questions = [1=slider_trial1]
/ showpagenumbers = false
/ showquestionnumbers = false
/ finishlabel = "continue"
</surveypage>

<item pair1>
/ 1 = "Kilkis is in Turkey."
</item>

<text pair1>
/ onprepare = [text.pair1.textcolorred=list.r.1; text.pair1.textcolorgreen=list.g.1; text.pair1.textcolorblue=list.b.1]
/ items = pair1
/ select = 1
/ size = (80%, 30%)
/ hjustify = center
/ vjustify = center
</text>

<list r>
/ items = (140, 120, 100, 80, 60, 40, 20, 0)
/ selectionmode = sequence
/ selectionrate = always
</list>

<list g>
/ items = (140, 120, 100, 80, 60, 40, 20, 0)
/ selectionmode = list.r.currentindex
/ selectionrate = always
</list>

<list b>
/ items = (140, 120, 100, 80, 60, 40, 20, 0)
/ selectionmode = list.r.currentindex
/ selectionrate = always
</list>

<trial pair1>
/ stimulustimes = [0=pair1]
/ validresponse = (",","c")
/ correctresponse = ("c")
</trial>

<block contiguity>
/trials = [1=pair1; 2=slider_trial1]

Is it possible to combine the text item with the slider on one page? I tried putting the text item into the surveypage, which didn't work. I also tried getting 'pair1' into a value for integrating it into the caption of the slider.

Thanks a lot for your help!

Lea
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search