Black Survey Page looses white background image on empty submit


Author
Message
nanu1002
nanu1002
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 9, Visits: 61
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>





Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
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>


nanu1002
nanu1002
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 9, Visits: 61
Thank you!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search