Justifying text within a survey


Author
Message
Ali
Ali
Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)
Group: Forum Members
Posts: 26, Visits: 194
Hello. Is there a way to use '/ hjustify' and '/ size' for a text within a <survey> or <surveypage>? I couldn't figure out how to link <text> to <survey>. 

(I want to use this page for instructions for the participants only, and so it will not have any questions. But I could not use preinstructions because it does not seem to fit in a block in order to add it to an include element later on.)

Best, 

Ali

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: 108K
To display a <text> element on a <surveypage>, use the page's /stimulusframes attribute.

Otherwise you can display text on a <surveypage> by setting up a <caption> element and displaying it via the page's /questions attribute.

Ali
Ali
Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)
Group: Forum Members
Posts: 26, Visits: 194
Thanks Dave. I wonder if you could show me how to do this. This the part I have now: 

---------------------------------------------------
<survey explicitend>
/ pages = [1=explicitend1]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ itemspacing = 10%
/ showpagenumbers = false
/ showbackbutton = false
/ finishlabel = "Next"
</survey>

<surveypage explicitend1>
/ caption = "This is the end of this section. Please click Next."
/ fontstyle = ("Verdana", -20, true, false, false, false, 5, 0)
</surveypage>
---------------------------------------------------

I'm trying to apply the following attributes to the above caption: 
/ size = (60%, 20%)
/ hjustify = center

Thanks!




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: 108K
You cannot apply those attributes to a /caption attribute. You need to either set up a <text> element with those attributes and display it via the page's /stimulusframes. Or you need to set up a <caption> element with proper /position etc. and display it on the page via its /questions attribute.

<surveypage mypage>
/ stimulusframes = [1=mytext]
/ showpagenumbers = false
</surveypage>

<text mytext>
/ items = ("This is a text element on a surveypage.")
/ position = (50%, 20%)
</text>

Edited 11 Years Ago by Dave
mariela
mariela
Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)
Group: Forum Members
Posts: 14, Visits: 25
I have a question in regards to integrating text and pictures into a survey page, too.
I managed to place all my material by using the /stimulusframes command, so text and pictures are placed above my <radiobutton> question.

But If I now test this surveypage, I find that if a subject fails to choose an option from my radio button question, all the stimulusframe material disappears and only the radiobutton info remains visible, until the subject makes a valid choice.

Is there a way how I can keep the simulusframes material visible, eben if the subject first fails to make a valid choice and uses the "Finish" button first?

Thanks a lot in advance for any hint!

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: 108K
You can either

(1) use <caption> and <image> elements displayed via the page's /questions attribute (instead <text> and <picture> displayed via /stimuluframes) or in some cases

(2) set the survey's or surveypage's topmargin, leftmargin etc. properties such that <text> and <picture> stimuli are not within the area that gets erased in case of a missing response to a given question.

mariela
mariela
Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)
Group: Forum Members
Posts: 14, Visits: 25
Thanks for your help.

I used your first solution for the text elements but didn't fint the <image> option with the options for radiobuttons.

Could you give me an example how to include an image into a surveypage / radiobutton question?

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: 108K
Define an <image> element

<image someimage>
[...]
</image>

and display it via a <surveypage>'s > /questions attribute

<surveypage somepage
/ questions = [1=someimage; ...]
[...]
</surveypage>

just like any other question type (e.g. <radiobuttons>).

<caption> elements work exactly the same (note the difference to /caption *attributes*).

mariela
mariela
Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)
Group: Forum Members
Posts: 14, Visits: 25
Thank you for your help!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search