Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Change "next" button to "I agree" button

  • kosburn1114
  • kosburn1114's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 weeks ago #75815 by kosburn1114
Change "next" button to "I agree" button was created by kosburn1114
Hello everyone,

I found a previous thread on the forums that suggested use the following code within the welcome message will change the "next" button to read "I agree"

code
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$("#movenextbtn").val('I agree to participate');
});
</script>

/code

However, this doesn't appear to work for me. Am I doing something incorrect? Instead when I view the survey I see the code and no button has changed. I'm using 1.9+ Build 120226

I'm creating a series of surveys for use within a Delphi study so I need the participants to "agree" before they begin the study.

Thanks in advance for your help!

Cheers!
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 3 weeks ago #75835 by Mazi
Replied by Mazi on topic Change "next" button to "I agree" button
1. Where did you add this code?

2. Can you post a link to an activated sample survey which contains the code?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 3 weeks ago - 12 years 3 weeks ago #75885 by tpartner
Replied by tpartner on topic Change "next" button to "I agree" button
Did you disable the XSS filter and enter the code in "Source" mode?

See - docs.limesurvey.org/Workarounds%3A+Manip..._etc._in_LimeSurvey_

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 12 years 3 weeks ago by tpartner.
The topic has been locked.
  • kosburn1114
  • kosburn1114's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 weeks ago #75916 by kosburn1114
Replied by kosburn1114 on topic Change "next" button to "I agree" button
Ah! That was it -- the security setting was set to yes. Immediately upon setting that to No the code worked.

Brilliant!

Thanks so much for your help!

Now, if you'd like to write chapter 3 of my dissertation .... ;-)

Cheers!

Keith
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 3 weeks ago #75917 by tpartner
Replied by tpartner on topic Change "next" button to "I agree" button
If your dissertation is titled "Custom styles and scripts for LimeSurvey", I'd be happy to help :laugh:

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
9 years 9 months ago - 9 years 9 months ago #110243 by danika
Replied by danika on topic Change "next" button to "I agree" button
Doesn't seem to work in 2.05+ It still reads "Next".
Last edit: 9 years 9 months ago by danika. Reason: addtional information
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 9 months ago #110246 by tpartner
Replied by tpartner on topic Change "next" button to "I agree" button
That's a nice polite way to ask for help.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
9 years 9 months ago #110248 by danika
Replied by danika on topic Change "next" button to "I agree" button
Hi Tony,

Any suggestions are appreciated.

Kind regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 9 months ago #110251 by tpartner
Replied by tpartner on topic Change "next" button to "I agree" button

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: danika
The topic has been locked.
More
9 years 9 months ago #110258 by danika
Replied by danika on topic Change "next" button to "I agree" button
Thanks, I will give a shot and let's see what happens.

Best
The topic has been locked.
More
9 years 9 months ago #110263 by danika
Replied by danika on topic Change "next" button to "I agree" button
Tony, thanks for a point in the right direction. On that page you made reference to the Citronade template, and that UI button functionality was disabled in it. As it so happened, that was it!

Thanks again!

Best
The topic has been locked.
More
9 years 9 months ago #110278 by danika
Replied by danika on topic Change "next" button to "I agree" button

tpartner wrote: Have a look at this post - www.limesurvey.org/en/forum/design-issue...ome-page-only#105511


Tony, this worked perfectly once I switching from the Citronade template. Would there be a way now to add an "I do NOT Accept" button?

Thanks in advance.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose