Surveypage captions


Author
Message
becgwin
becgwin
Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)
Group: Forum Members
Posts: 53, Visits: 313
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

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
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>

becgwin
becgwin
Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)Guru (7K reputation)
Group: Forum Members
Posts: 53, Visits: 313
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search