Welcome, Guest
Username: Password:

TOPIC: using the same help text multiple times

using the same help text multiple times 1 year 8 months ago #111723

  • qdrop
  • qdrop's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
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
The administrator has disabled public write access.

using the same help text multiple times 1 year 8 months ago #111747

  • qdrop
  • qdrop's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Any solution would be greatly appreciated.
The administrator has disabled public write access.

using the same help text multiple times 1 year 8 months ago #111755

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5914
  • Thank you received: 357
  • Karma: 262
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)limesurvey.org'"
The administrator has disabled public write access.

using the same help text multiple times 1 year 8 months ago #111762

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5759
  • Thank you received: 1250
  • Karma: 512
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: 1 year 8 months ago by tpartner.
The administrator has disabled public write access.

using the same help text multiple times 1 year 8 months ago #111781

  • qdrop
  • qdrop's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Thank you very much tpartner - that's exactely what I was looking for.

Rgds
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.243 seconds