Stimulusframe disappears when an item on surveypage is unanswered


Author
Message
leluxe
leluxe
Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)
Group: Forum Members
Posts: 18, Visits: 85
Hi there,

I have a very short question: How can I prevent my text stimulus on a surveypage from disappearing when a checkbox item is left unanswered?
Right now if the participant neither chooses "yes" or "no" in an agreement-to-conditions checkup but directly clicks "proceed" the checkbox item is marked red but the text disappears apart from some words on the far right of the screen. /erase = false didn't seem to help.

Script:

<text hellotext>
/ items = ("Diese Studie ist Teil eines Forschungsprojekts der Arbeitseinheit „Entwicklungspsychologie“ der Universität Münster.

Bitte vor der Bearbeitung beachten:
- Die Teilnahme an der Untersuchung ist freiwillig.
- Ihre Daten werden streng vertraulich behandelt und nur für diese Studie benutzt.
- Stellen Sie sicher, dass sie konzentriert arbeiten können und nicht abgelenkt werden.
- Die Studie daurt etwa 45 min. und es ist keine Pause möglich.
- Bitte nutzen Sie einen PC Monitor. Die Distanz zu dem Monitor sollte etwa 60 cm betragen.
- Sofern sie eine Brille oder Kontaktlinsen benötigen, nutzen Sie diese bitte.
- Vor der Bearbeitung werden Sie aufgefordert, ihre Bildschirmgröße anzugeben. Sofern Sie diese nicht kennen, haben Sie die Möglichkeit,
  Ihre Bildschirmgröße mithilfe einer Kredit- oder Bankkarte zu bestimmen.

Wenn Sie mit der Teilnahme an der Untersuchung einverstanden sind, markieren Sie bitte 'Ja'. Wenn Sie 'Nein' markieren, wird das Experiment mit Klick auf den 'Weiter'-Button beendet.")

/ fontstyle = ("Verdana",14,false,false,false,false,5)
/ hjustify = left
/ erase = false
</text>

<radiobuttons agreed>
/ caption = "Sind Sie einverstanden?"
/ responsefontstyle =  ("Verdana",14,false,false,false,false,5)
/ options = ("Ja","Nein")
/ required = True
/ fontstyle = ("Verdana",14,true,false,false,false,5)
/ position = (20,70)
</radiobuttons>

<surveypage hello>
/ stimulusframes = [1=hellotext]
/ questions = [1=agreed]
/ branch = [if(radiobuttons.agreed.response == "Nein") values.notokay += 1]
/ finishlabel = "Weiter"
/ showpagenumbers = false
/ showquestionnumbers = false
/ caption = "Wahrnehmungsstudie"
/ fontstyle = ("Verdana",24,true,false,false,false,5)
</surveypage>

<values>
/ notokay = 0
</values>

Greets and thanks for your help,
Pablo


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
You can't prevent that when displaying a <picture> element via the page's /stimulusframes. If you set up an <image> element instead and display it via the page's /questions attribute, it will not disappear.

leluxe
leluxe
Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)
Group: Forum Members
Posts: 18, Visits: 85
Thanks Dave,
but i need to present a *text* element, not a picture. I tried to create an <item> with the text and then tried to display it via the /questions attribute of the surveypage, but this didn't work out.
Any ideas?

Best regards,
Pablo

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
What I said applies to any kind stimulus element (<text>, <picture>, <shape>, etc.) displayed via a page's /stimulusframes. As with <picture> elements, <text> elements cannot be displayed via the /questions attribute. The element to set up and use instead is a <caption> element.

leluxe
leluxe
Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)Distinguished Member (2.9K reputation)
Group: Forum Members
Posts: 18, Visits: 85
Thanks Dave, this worked just fine.

esia_1
esia_1
Respected Member (357 reputation)Respected Member (357 reputation)Respected Member (357 reputation)Respected Member (357 reputation)Respected Member (357 reputation)Respected Member (357 reputation)Respected Member (357 reputation)Respected Member (357 reputation)Respected Member (357 reputation)
Group: Forum Members
Posts: 3, Visits: 3
Hi,
I have a related question.
I want to present a photo on a surveypage with some checkbox elements.
Currently I present the photo as <picture> and via the page´s stimulusframe, but then I have the same problem: If a checkbox item is unanswered and you klick the finishlabel-button, the photo dissapears.

<item Foto1>
/1 = "0245_m_portrait_20150618.JPG"
</item>

<picture Foto1>
/ numitems = 1
/ items = Foto1
/ size = (672, 813,12)
/position = (20,50)
</picture>

<surveypage foto1> /caption = "" /stimulusframes=[1= Foto1] /questions =  [1= gepflegt.haare;2= gepflegt.gesicht;3=gestylt.haare;4= gestylt.gesicht;5= makeup; 6= gesichtsausdruck; 7=values;8 = c1;9 = c2;10 = c3;11 = c4;12= c5;13= c6;14 = Skala; 15 = Skala2; 16 = wenn] /showquestionnumbers= false/showpagenumbers= false/ response= timeout (1000000000)/ fontstyle = ("Bell Gothic STD Black", 18pt, true, false ,false, false, 5, 0)/finishlabel = "Klick hier für weiter!" </surveypage>

Is it possible to set up the photo as an <image> element or would I need to display it in the surveypages attributes?

Thank you!

Edited 8 Years Ago by esia_1
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search