using the same help text multiple times

More
3 years 1 month ago #111723 by qdrop
qdrop created the topic: using the same help text multiple times
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

Please Log in to join the conversation.

More
3 years 1 month ago #111747 by qdrop
qdrop replied the topic: using the same help text multiple times
Any solution would be greatly appreciated.

Please Log in to join the conversation.

More
3 years 1 month ago #111755 by Mazi
Mazi replied the 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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #111762 by tpartner
tpartner replied the 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:
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":
<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: 3 years 1 month ago by tpartner.

Please Log in to join the conversation.

More
3 years 4 weeks ago #111781 by qdrop
qdrop replied the topic: using the same help text multiple times
Thank you very much tpartner - that's exactely what I was looking for.

Rgds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now