Welcome to the LimeSurvey Community Forum

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

Change navigation button text

  • LSCitizen
  • LSCitizen's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #106264 by LSCitizen
Change navigation button text was created by LSCitizen
Hello,
I am using LimeSurvey Version 2.05+ Build 140226.
I want to update the Limespired template so that the "Previous" navigation button displays "Back". I found div class="survey-navigator" in the navigator.pstpl file, but I can't find this class in the template.css file.

Thanks for your help.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 1 month ago #106270 by holch
Replied by holch on topic Change navigation button text
You can change the text in the translation file.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 1 month ago #106272 by tpartner
Replied by tpartner on topic Change navigation button text
Or add this to the end of template.js:

Code:
$(document).ready(function(){    
  var prevText = 'Back';
  if($('#moveprevbtn .ui-button-text').length > 0) {
    $('#moveprevbtn .ui-button-text').text(prevText);
  }
  else {
    $('#moveprevbtn').text(prevText);
  }
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose