Millisecond Forums

Surveypage captions

https://forums.millisecond.com/Topic22163.aspx

By becgwin - 7/30/2017

Hi,
I am combining a consent form for a study with a demographics surveypage that uses dropdowns etc.. For the consent information, I have used the caption option of the surveypage element.  The only issue is that the type for the consent information then goes right across the screen which makes it very wide when reading.  Is there any way to limit the width of the caption in the surveypage (like there is for instructions in experiment scripts)? 

Cheers,

Rebecca
By Dave - 7/31/2017

becgwin - Sunday, July 30, 2017
Hi,
I am combining a consent form for a study with a demographics surveypage that uses dropdowns etc.. For the consent information, I have used the caption option of the surveypage element.  The only issue is that the type for the consent information then goes right across the screen which makes it very wide when reading.  Is there any way to limit the width of the caption in the surveypage (like there is for instructions in experiment scripts)? 

Cheers,

Rebecca

The <caption> element has a /size attribute, which you can use to limit its width and height:

<caption mycaption>
/ caption = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
/ size = (50%, 90%)
</caption>

<surveypage mypage>
/ questions = [1=mycaption]
/ showquestionnumbers = false
/ showpagenumbers = false
</surveypage>
By becgwin - 7/31/2017

Dave - Monday, July 31, 2017
becgwin - Sunday, July 30, 2017
Hi,
I am combining a consent form for a study with a demographics surveypage that uses dropdowns etc.. For the consent information, I have used the caption option of the surveypage element.  The only issue is that the type for the consent information then goes right across the screen which makes it very wide when reading.  Is there any way to limit the width of the caption in the surveypage (like there is for instructions in experiment scripts)? 

Cheers,

Rebecca

The <caption> element has a /size attribute, which you can use to limit its width and height:

<caption mycaption>
/ caption = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
/ size = (50%, 90%)
</caption>

<surveypage mypage>
/ questions = [1=mycaption]
/ showquestionnumbers = false
/ showpagenumbers = false
</surveypage>

Thanks Dave, as usual worked a treat.

Rebecca