Expandable/Collapsible text in Description section on introduction page

More
7 months 3 weeks ago #163268 by apoggio
apoggio created the topic: Expandable/Collapsible text in Description section on introduction page
Hello,

Is there a way to have the section ''Description'' to be collapsible when arriving on the introduction page of the survey?

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #163278 by holch
holch replied the topic: Expandable/Collapsible text in Description section on introduction page
Not with Limesurvey "board equipment". But I am sure there are solutions out there, that allow you to do this with Javascript. So have a Google search. You can then implement it on the Welcome text. But don't forget to allow the use of Javascript in the LS admin backend.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #163291 by jelo
jelo replied the topic: Expandable/Collapsible text in Description section on introduction page
Depending on your LimeSurvey version, you can use bootstrap.
www.w3schools.com/bootstrap/bootstrap_collapse.asp

If LS 2.5 or LS 3.X is used with a bootstrap theme/template, you can simply add examples.

E.g. post this into a questiontext (Sourcecode mode!).
<div class="container">
<h2>Simple Collapsible</h2>
 
<p>Click on the button to toggle between showing and hiding content.</p>
<button class="btn btn-info" data-target="#Demo" data-toggle="collapse" type="button">Simple collapsible</button>
 
<div class="collapse" id="Demo">Lorem ipsum dolor sit amet, consectetur adipisicing 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.</div>
</div>


Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
Attachments:
The following user(s) said Thank You: tpartner, LouisGac

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!