Welcome to the LimeSurvey Community Forum

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

Can I change the template

  • gstjason
  • gstjason's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 5 months ago #113405 by gstjason
Can I change the template was created by gstjason
Can I change the word “survey” and "Exit and clear survey in Template? If Yes, How to do this?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 5 months ago - 9 years 5 months ago #113409 by tpartner
Replied by tpartner on topic Can I change the template
For the "There are X questions in this survey" text, the easiest solution would be to disable that with the survey settings and then add your custom text to the welcome message.

For the button text, 2 solutions...

1) Create a custom language file and make the change there - manual.limesurvey.org/How_to_translate_L...ng_a_new_translation

2) Add something like this to the end of template.js:
Code:
<script type="text/javascript" charset="utf-8">  
  $(document).ready(function(){
    var newClearallText = 'New Clear All Text';
    if($('#clearall .ui-button-text').length > 0) {
      $('#clearall .ui-button-text').text(newClearallText);
    }
    else {
      $('#clearall').text(newClearallText);
    }
  });
</script>


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 5 months ago by tpartner.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose