By nanu1002 - 10/31/2014
Hello,
I have a black survey page which works well with radio button questions (black text color) with a white background image. If a user doesn't select any radiobutton and hits the survey page: survey page looses all its stimulus frames (hence no white background to see the question text) and the radiobutton caption becomes red in color.
Is there any way I could set this up differently to avoid this? My trial screens are black and each trial I bring up the survey page at step 3.
<block PSE> /trials = [1-8 = sequence(pic,action,rateimage,relax)] </block>
<surveypage rateimage> / stimulustimes= [1=background,rate] / questions=[1=ratequestions] / showbackbutton=false / showquestionnumbers = false / finishlabel = "SUBMIT" / showpagenumbers = false / showquestionnumbers = false / nextbuttonposition = (50%, 65%) / ontrialend = [values.trialcurrenttime = script.currenttime; values.trialelapsedtime = surveypage.rateimage.trialduration] </surveypage>
<radiobuttons ratequestions> / caption="Rate the image:" / options=("Weak", "Light", "Moderate", "Strong") / optionvalues=("1", "2", "3","4") /position = (30%, 30%) </radiobuttons>
|
By Dave - 10/31/2014
Try doing the reverse: Set the default screen color to white. Use a black background stimulus in your <trial> elements.
<block myblock> / screencolor = (white) / trials = [1-2=sequence(mytrial, mypage)] </block>
<trial mytrial> / stimulusframes = [1=blackbg,mytext] / validresponse = (57) </trial>
<surveypage mypage> / caption = "A Page" </surveypage>
<text mytext> / items = ("Something...") / txcolor = (white) / txbgcolor = (black) </text>
<shape blackbg> / color = (black) / shape = rectangle / size = (100%, 100%) </shape>
|
By nanu1002 - 11/9/2014
Thank you!
|
|