Change navigation button text

More
3 years 5 months 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 5 months 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 5 months 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.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now