Welcome, Guest
Username: Password: Remember me

TOPIC: Changing what the "Next" button says

Changing what the "Next" button says 2 years 4 months ago #76930

Hi,
Where can I find the code to change the text of the "Next" button?
I want to change it in general, not in just one page.

Thanks!
David
The administrator has disabled public write access.

Aw: Changing what the "Next" button says 2 years 4 months ago #76933

  • dreier
  • dreier's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 2
  • Karma: 3
Hi,

you could just change the translation of Next in the language files.
Just open the en file and add a translation there et voilà you got a new text for the "Next" button.

Greetings
dreier
Last Edit: 2 years 4 months ago by dreier.
The administrator has disabled public write access.

Re: Changing what the "Next" button says 2 years 4 months ago #76945

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
That will work if you want to change the value for all surveys.

If you want to change it for specific surveys, you can add the following to the end of template.js:
$(document).ready(function() {
 
	$('#movenextbtn').attr('value','New Next Value');
 
});
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.

Re: Changing what the "Next" button says 2 years 4 months ago #76957

Thanks so much!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.151 seconds
Donation Image