Welcome to the LimeSurvey Community Forum

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

List with comment - Changing the label (2018)

  • EwenHill
  • EwenHill's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #175319 by EwenHill
Hi,
I am using the cloud based version and have a List with comment and would like to change the title of the text area from "Please enter your comment here:" to "Please provide details to support your case".

We have had the system two days, so can some kind soul explain step by step please? We would prefer not to use jQuery to do this but if this is the only way to do this so be it.

TIA
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago #175334 by tpartner
Replied by tpartner on topic List with comment - Changing the label (2018)
If you want this for a single question, you can add this script to the source of the question:

Code:
<script type="text/javascript" charset="utf-8">
 
  $(document).on('ready pjax:scriptcomplete',function(){
 
    $('#question{QID} .text-item label.control-label').text('Please provide details to support your case:');
  });
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
4 years 6 months ago - 4 years 6 months ago #189244 by billkeranen
Replied by billkeranen on topic List with comment - Changing the label (2018)
Tony,

Sorry for resurrecting such an old thread, but I'd like to ask you for help. If I add the function in the source all I get is a mangled question. Screenshots attached. What am I doing wrong here?

Version 3.14.8+180829

OK never mind, had to disable the XSS filter per manual.limesurvey.org/Workarounds:_Manip....29_in_LimeSurvey.3F
Last edit: 4 years 6 months ago by billkeranen.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose