Welcome to the LimeSurvey Community Forum

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

changing "next" button text to "I agree" on the welcome page (v. 3.27)

More
2 years 8 months ago #224604 by uba
Please help us help you and fill where relevant:
Your LimeSurvey version:3.27
Own server or LimeSurvey hosting: OWN
Theme: FRUITY

=================
Hi,

I know this question has been asked before, and solutions have been posted (e.g.  forums.limesurvey.org/forum/design-issue...agree-button?start=0 )  However for some reason the recommended script doesn't work on my site, the text still reads "next" instead of "I agree." I'm wondering if perhaps the newer version I'm using (3.27) requires different code?  The code I am using is below, I inserted it on my welcome page, in "source" mode:

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

I have the XSS filter option turned off, and I've cleared my cache, so I really don't know what to try next. If anyone can help I'd appreciate it. Here is the welcome page, with code above included:

qsurvey.org/lime2/index.php/843669?lang=en

Thanks!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #224606 by Joffm
Hi,
your link is 9 years old and for version 1.92 of 2012.

As a general hint:
Investigate the page by a webdevelopment tool (included in each browser) to see which classes are affected.
Here you  see
 
You see, the id of the next button is "#ls-button-submit".
You certainly read about the change in the LimeSurvey structure. That since Version 2.50 it is based on "bootstrap" instead of "JqueryUI".

And here is a newer thread about it.
[url] forums.limesurvey.org/forum/can-i-do-thi...-text?start=0#223958 [/url]
You may neglect the condition of language.

On the other side: Why do you want to change the text to 'I agree to participate'?
Since version 3.x. there is a built-in option 
   

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: uba
The topic has been locked.
More
2 years 8 months ago #224607 by uba
Thanks, the "Yes, I agree to participate" text would work fine, that is all that I need.

Sorry for the stupid question, but how can I activate this option?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #224608 by tpartner

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: uba
The topic has been locked.
More
2 years 8 months ago #224610 by uba
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose