Check out the LimeSurvey source code on GitHub!

Caption on the "Next" Button in the Welcome Page

More
4 years 11 months ago #74990 by LycianSage
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.

Please Log in to join the conversation.

More
4 years 11 months ago #75184 by LycianSage
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...

Please Log in to join the conversation.

More
4 years 11 months ago #75195 by DenisChenu
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>

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: LycianSage

Please Log in to join the conversation.

More
4 years 11 months ago #75261 by Mazi
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)survey-consulting.com'"
The following user(s) said Thank You: LycianSage

Please Log in to join the conversation.

More
4 years 11 months ago #75342 by LycianSage
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

Attachments:

Please Log in to join the conversation.

More
4 years 11 months ago #75350 by DenisChenu

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.


:)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: LycianSage

Please Log in to join the conversation.

More
2 years 7 months ago #110244 by danika
Hello, does this apply to 2.05+? The button still reads "Next'.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form