Welcome, Guest
Username: Password: Remember me

TOPIC: Change navigation button text

Change navigation button text 7 months 1 week ago #106264

  • LSCitizen
  • LSCitizen's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 38
  • Thank you received: 1
  • Karma: 1
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 administrator has disabled public write access.

Change navigation button text 7 months 1 week ago #106270

  • holch
  • holch's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 2837
  • Thank you received: 355
  • Karma: 122
You can change the text in the translation file.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Change navigation button text 7 months 1 week ago #106272

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4264
  • Thank you received: 801
  • Karma: 368
Or add this to the end of template.js:

$(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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.099 seconds
Donation Image