Textbox caption does not disappear


Author
Message
psych101
psych101
Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)
Group: Forum Members
Posts: 14, Visits: 73
Hello,
I am trying to ask some questions in a surveypage, and then present a trial with instructions. However, the caption for the last survey question remains on the screen in the background even during the later instruction trials.
(This happens if the last question is a textbox, but not radiobuttons. It seems to disappear if I include another surveypage after it also.)

Here is a simple example that recreates the problem. Any help on how to fix this would be appreciated! Thanks!


<textbox q1>
/ caption = "Question 1 caption."
</textbox>

<textbox q2>
/ caption = "Question 2 caption."
</textbox>

<surveypage demographics>
/ caption = "Please answer the following questions."
/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0)
/ questions = [1=q1;2=q2]
</surveypage>

<text instructions>
/ items = ("some text")
/ size = (20%, 20%)
</text>

<trial instructions>
/ stimulusframes = [1=instructions]
/ validresponse = (anyresponse)
</trial>

<block intro>
/ trials = [1= surveypage.demographics; 2=instructions]
</block>

<expt>
/ blocks = [1 = intro;]
</expt>


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: 12K, Visits: 98K
psych101 - Thursday, April 26, 2018
Hello,
I am trying to ask some questions in a surveypage, and then present a trial with instructions. However, the caption for the last survey question remains on the screen in the background even during the later instruction trials.
(This happens if the last question is a textbox, but not radiobuttons. It seems to disappear if I include another surveypage after it also.)

Here is a simple example that recreates the problem. Any help on how to fix this would be appreciated! Thanks!


<textbox q1>
/ caption = "Question 1 caption."
</textbox>

<textbox q2>
/ caption = "Question 2 caption."
</textbox>

<surveypage demographics>
/ caption = "Please answer the following questions."
/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0)
/ questions = [1=q1;2=q2]
</surveypage>

<text instructions>
/ items = ("some text")
/ size = (20%, 20%)
</text>

<trial instructions>
/ stimulusframes = [1=instructions]
/ validresponse = (anyresponse)
</trial>

<block intro>
/ trials = [1= surveypage.demographics; 2=instructions]
</block>

<expt>
/ blocks = [1 = intro;]
</expt>


Very weird, I can't seem to reproduce this, though. Two things to test:

#1: Does the problem persist if you do a clearscreen in the <trial>, i.e.:

<textbox q1>
/ caption = "Question 1 caption."
</textbox>

<textbox q2>
/ caption = "Question 2 caption."
</textbox>

<surveypage demographics>
/ caption = "Please answer the following questions."
/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0)
/ questions = [1=q1;2=q2]
</surveypage>

<text instructions>
/ items = ("some text")
/ size = (20%, 20%)
</text>

<trial instructions>
/ stimulusframes = [1=clearscreen,instructions]
/ validresponse = (anyresponse)
</trial>

<block intro>
/ trials = [1= surveypage.demographics; 2=instructions]
</block>

<expt>
/ blocks = [1 = intro;]
</expt>

#2: What happens if some other element, e.g. a non-visible <caption> is included after the 2nd <textbox>?

<textbox q1>
/ caption = "Question 1 caption."
</textbox>

<textbox q2>
/ caption = "Question 2 caption."
</textbox>

<caption c1>
/ caption = "                     "
</caption>

<surveypage demographics>
/ caption = "Please answer the following questions."
/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0)
/ questions = [1=q1;2=q2;3=c1;]
</surveypage>

<text instructions>
/ items = ("some text")
/ size = (20%, 20%)
</text>

<trial instructions>
/ stimulusframes = [1=instructions]
/ validresponse = (anyresponse)
</trial>

<block intro>
/ trials = [1= surveypage.demographics; 2=instructions]
</block>

<expt>
/ blocks = [1 = intro;]
</expt>

Thanks!

canlabstudies
canlabstudies
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 15, Visits: 115
Hi (me again from original post),

It seems like the issue only occurs on Mac, not windows.

The clear screen seems to solve it.

Thanks!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search