Welcome, Guest
Username: Password:

TOPIC: Tried to change NEXT button to I agree in the ver 2.0 latest build but failed.

Tried to change NEXT button to I agree in the ver 2.0 latest build but failed. 3 years 4 months ago #91238

  • jamesxin
  • jamesxin's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
I am new and installed the latest update on my server. Follow the instructions online to change the NEXT button to I agree but it did not work. Anybody can help!Appreciate your reply.

The steps I followed are from the following link:
www.limesurvey-consulting.com/adding-i-a...r-limesurvey-survey/
The administrator has disabled public write access.

Tried to change NEXT button to I agree in the ver 2.0 latest build but failed. 3 years 4 months ago #91247

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5899
  • Thank you received: 1291
  • Karma: 520
LimeSurvey 2 uses button elements instead of input elements for "Next" and "Previous", so you need to use a script like this:
<script type="text/javascript" charset="utf-8">
	$(document).ready(function(){
		$('#movenextbtn .ui-button-text').text('I agree!');
		$('.clearall').attr('value','I do NOT agree!');
	});
</script>
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Tried to change NEXT button to I agree in the ver 2.0 latest build but failed. 3 years 4 months ago #91265

  • jamesxin
  • jamesxin's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Thank you very much!It works perfectly. :)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.250 seconds