Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Providing more information for a question

  • IlanaWilken
  • IlanaWilken's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 4 months ago #160600 by IlanaWilken
Providing more information for a question was created by IlanaWilken
Hello everyone

The start of my survey requires users to choose an item (for example, they have to choose one type of university qualification from a list of 20). The survey is then populated based on what they selected. However, it might be that some users don't know what each different degree entails.

I would like to add some extra information to the question without cluttering the page. I thought of adding it in the Help section of a question, but it really clutters the page. Is there a way of adding a pdf with all the information that the users can just download? Or perhaps a hover over functionality for when they need it?

Thank you so much.

Regards
Ilana
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago - 6 years 4 months ago #160606 by Joffm
Replied by Joffm on topic Providing more information for a question
Hello, Ilana,

you can use tooltips like this.


Your answer option is like this:
<a href="#" title="This is a more detailled information about this item.">Short item 1</a>

Interesting. I didn't know that it works. New experience.
That's the advantage of LS. It's bootstrap and you can try.

On the other hand: Of course you can put a link to a pdf in the help text like
<a href="link_to_pdf" target="_blank">Open more information</a>

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 4 months ago by Joffm.
The following user(s) said Thank You: ecoplan
The topic has been locked.
  • IlanaWilken
  • IlanaWilken's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 4 months ago #160624 by IlanaWilken
Replied by IlanaWilken on topic Providing more information for a question
Hello Joffm

Thank you so much for your answer. However, I'm struggling a bit with how I would implement it.
Should I upload the pdf document somewhere? And where to/how do I upload it?

Thank you again.

Regards
Ilana
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago - 6 years 4 months ago #160642 by Joffm
Replied by Joffm on topic Providing more information for a question
Hello, Ilana,

sure, you have to uplaod it to some place on your server.

1. You are not allowed to upload it to your template with the button in the template editor (pdf not allowed)

2. But you can do that by "Filezilla" or other ftp clients.. Upload to "your_LS_installation/upload/templates/files/name_of_template". Now you can use the placeholder {TEMPLATEURL} in your code, like:
Code:
<a href="{TEMPLATEURL}/files/Research&amp;amp;results.pdf" target="_blank">Click for more information</a>

3. You are not restricted to upload to a LS folder. You can upload to any place.
Then you have to use the full URL like:
Code:
<a href="http://www.server.com/path_to_document.pdf" target="_blank">Click for more information</a>




And just by inserting some bootstrap classes:
Code:
<a class="btn btn-info btn-xs" href="http://www.server.com/path_to_document.pdf" target="_blank">Click for more information</a>
you get



Best regards
Joffm

P.S. The question mark is removed in this my template

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 4 months ago by Joffm.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #160661 by Joffm
Replied by Joffm on topic Providing more information for a question
Hello, Ilana,

sorry, there was a typo.

Upload to "your_LS_installation/upload/templates/name_of_template/files"

"files" was in the wrong position.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose