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

More
4 years 2 months ago #91238 by jamesxin
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/

Please Log in to join the conversation.

More
4 years 2 months ago #91247 by tpartner
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.

Please Log in to join the conversation.

More
4 years 2 months ago #91265 by jamesxin
Thank you very much!It works perfectly. :)

Please Log in to join the conversation.