Slider / surveypage issue - not able to proceed to next trial


Author
Message
Gy997
Gy997
Associate Member (66 reputation)Associate Member (66 reputation)Associate Member (66 reputation)Associate Member (66 reputation)Associate Member (66 reputation)Associate Member (66 reputation)Associate Member (66 reputation)Associate Member (66 reputation)Associate Member (66 reputation)
Group: Forum Members
Posts: 5, Visits: 46
Hi, 

In one of my experiment blocks I'd like to present a sequence of trials containing a slider scale (eg one trial for emotional intensity and one for valence.) To do so, I'm using the surveypage as trial element containing two "questions", caption and slider. I don't know if it's correct to add the caption as question, but I did that because I wanted to manipulate the text caption size / position (which doesn't seem possible otherwise). The main problem is that when I run my script, it seems that even if I'm able to select one of the slider tick mark using the mouse, I am not able to proceed to the next trial / the experiment doesn't move on. I tried out different things, even deleted the caption question from the surveypage element but nothing changes. I wonder where is the problem? :( I tried to add  lbuttondblclk as /validresponse in the sliders element but I get this message "invalid syntax", so I really don't know how to solve this issue. Hope it wasn't too confusing/unclear, to explain myself better I attached some lines from my script where I defined block, the two surveypages and related sliders/captions. Thank you for your time and understanding!
 
<block ems>
/ trials = [1=emotionalintensity; 2= valence]
/ recorddata = true
</block>

<surveypage emotionalintensity>
/ questions = [1=textem; 2= emotionalintensity]
/ recorddata = true
/ ontrialend = [
    values.emotionalintensity= response
]
/ branch = [surveypage.valence]
/ timeout = (57)
</surveypage>


<slider emotionalintensity>
/ labels = ("1", "2", "3", "4", "5", "6", "7")
/ range = (1,7)
/ increment = 1
/ position = (10,50)
/ slidersize = (100, 100)
</slider>

<caption textem>
/ caption = "Please rate the emotional intensity of your thoughts"
/ subcaption = "(1= extremely low; 7=extremely high)"
/ txcolor = black
/ position = (30,30)
/ size = (90%, 50%)
/ fontstyle = ("Arial", 2.13%, false, false, false, false, 5, 1)
</caption>


<surveypage valence>
/ questions = [1= textva; 2=valence;]
/ recorddata = true
/ ontrialend = [
    values.valence = response
]
</surveypage>

<slider valence>
/ labels = ("1", "2", "3", "4", "5", "6", "7")
/ range = (1,7)
/ increment = 1
/ position = (10,50)
/ slidersize = (100, 100)
</slider>


<caption textva>
/ caption = "Please rate the emotional valence of your thoughts"
/ subcaption = "(1= extremely negative; 7=extremely positive)"
/ txcolor = black
/ position = (30,30)
/ size = (90%, 50%)
/ fontstyle = ("Arial", 2.13%, false, false, false, false, 5, 1)
</caption>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search