Welcome, Guest
Username: Password: Remember me

TOPIC: Caption on the "Next" Button in the Welcome Page

Caption on the "Next" Button in the Welcome Page 2 years 8 months ago #74990

  • LycianSage
  • LycianSage's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Hello,

I am using Version 1.91+ Build 12416.

In the welcome page, there is this "Next" button which leads the respondents to the questions. In the survey I'm currently trying to develop, there is a consent text in the welcome page.

Therefore, I want the caption of this button to be "I agree to participate." This button appears in all pages. So, bear in mind that I want his change only in the welcome page. Not in the Next buttons of question pages. And I don't want an additional button for "I agree to participate." It would be awkward to first "agree" and then to "next" the welcome page.

Thus, how can I change the caption of Next button only in the welcome page?

Thank you in advance for any help you can provide.
The administrator has disabled public write access.

Re: Caption on the "Next" Button in the Welcome Page 2 years 7 months ago #75184

  • LycianSage
  • LycianSage's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Any answer?

How to change the text on the "Next" button in the welcome screen?

"I agree to participate" instead of "Next"

How can it be done?

Please help...
The administrator has disabled public write access.

Re: Caption on the "Next" Button in the Welcome Page 2 years 7 months ago #75195

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Hello,

In your welcome "Welcome message:" put this script.
<script type="text/javascript" charset="utf-8">
	$(document).ready(function() {
		$("#movenextbtn").val('I agree to participate');
	});
</script>
The administrator has disabled public write access.
The following user(s) said Thank You: LycianSage

Re: Caption on the "Next" Button in the Welcome Page 2 years 7 months ago #75261

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
Does that solve your problem?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: LycianSage

Re: Caption on the "Next" Button in the Welcome Page 2 years 7 months ago #75342

  • LycianSage
  • LycianSage's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Hello Shnoulle and Mazi!

I tried the code. It works!!! Flawlesly!

I put it into the "Welcome message:" box in the "Edit text elements" module.

Thank you Shnoulle! Thank you! Thank you! You are awesome!

It works but I think I should ask one thing about this code. Do you think I can rely on this? The code will not interfere with other parts of the survey or will not cause loss of data right?

This is for my PhD and I have one chance to collect data. If I loose the data and resend invitations, I'm sure noone will respond.

The result is like this in a trial survey:image

Adsz.png
The administrator has disabled public write access.

Re: Caption on the "Next" Button in the Welcome Page 2 years 7 months ago #75350

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
LycianSage wrote:
It works but I think I should ask one thing about this code. Do you think I can rely on this? The code will not interfere with other parts of the survey or will not cause loss of data right?
No problem can appear with this code.

If you have to change the sentence, just dont put a " inside :).

And:
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

:)
The administrator has disabled public write access.
The following user(s) said Thank You: LycianSage

Re: Caption on the "Next" Button in the Welcome Page 4 months 1 day ago #110244

  • danika
  • danika's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 46
  • Karma: 0
Hello, does this apply to 2.05+? The button still reads "Next'.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.135 seconds
Donation Image