Change navigation button text

More
3 years 1 month ago #106264 by LSCitizen
LSCitizen created the topic: Change navigation button text
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.

Please Log in to join the conversation.

More
3 years 1 month ago #106270 by holch
holch replied the topic: Change navigation button text
You can change the text in the translation file.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 1 month ago #106272 by tpartner
tpartner replied the topic: Change navigation button text
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.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now