- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
using the same help text multiple times
- qdrop
- Topic Author
- Offline
- New Member
Less
More
9 years 7 months ago #111723
by qdrop
using the same help text multiple times was created by qdrop
Hello everyone.
I'd like to use the same help text of a question for various following questions (also in different question-groups).
Could anyone please tell me how to realize that? It's not a good solution to me to change 20 help texts for every single change...
Rgds
Thomas
I'd like to use the same help text of a question for various following questions (also in different question-groups).
Could anyone please tell me how to realize that? It's not a good solution to me to change 20 help texts for every single change...
Rgds
Thomas
The topic has been locked.
- qdrop
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
9 years 7 months ago #111747
by qdrop
Replied by qdrop on topic using the same help text multiple times
Any solution would be greatly appreciated.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 7 months ago #111755
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic using the same help text multiple times
There is no feature for this but copy-paste should do the trick.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10612
- Thank you received: 3691
9 years 6 months ago - 9 years 6 months ago #111762
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic using the same help text multiple times
If you see the need to change this text frequently, you could define the string in template.js and then insert it with a script in appropriate questions.
1) Add something like this to the end of template.js:
2) In all questions where you want the text to appear, add this to the source of "Help":
.
1) Add something like this to the end of template.js:
Code:
var helpText1 = '<p><img align="left" alt="Help" src="/limesurvey/images/help.gif"> Some common help text...</p>';
2) In all questions where you want the text to appear, add this to the source of "Help":
Code:
<script type="text/javascript" charset="utf-8"> document.write(helpText1); </script>
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 6 months ago by tpartner.
The topic has been locked.
- qdrop
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
9 years 6 months ago #111781
by qdrop
Replied by qdrop on topic using the same help text multiple times
Thank you very much tpartner - that's exactely what I was looking for.
Rgds
Rgds
The topic has been locked.