Check out the LimeSurvey source code on GitHub!

Change navigation button text

More
2 years 10 months ago #106264 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.

Please Log in to join the conversation.

More
2 years 10 months ago #106270 by holch
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
2 years 10 months ago #106272 by tpartner
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.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form