- Posts: 19
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
change label of submit button
- achstil
- Topic Author
- Offline
- New Member
Less
More
5 years 4 months ago #178432
by achstil
change label of submit button was created by achstil
I seem to remember an old functionality where I could very easy change 'submit' to something custom, like "send" or "give me some juice". Has this functionality been retired? Is a template edit the only way forward?
Sincerely
Sincerely
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
5 years 4 months ago #178451
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic change label of submit button
LimeSurvey version?
Theme used?
Theme used?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- achstil
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
5 years 4 months ago #178453
by achstil
Replied by achstil on topic change label of submit button
Hi
Version 3.15.5+181115
and
theme: extends_fruity
Version 3.15.5+181115
and
theme: extends_fruity
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
5 years 4 months ago #178455
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic change label of submit button
Add something like this to your custom.js file. Note that it will only affect The "Submit" button, not the "Next" button.
Code:
$(document).on('ready pjax:scriptcomplete',function() { $('button[value="movesubmit"]').text('New Text'); });
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: achstil
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
5 years 4 months ago #178456
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic change label of submit button
I think it always better to do it in HTML without js if able.
Still you already extended the template to add a js in custom.js, update navigator.twig
github.com/LimeSurvey/LimeSurvey/blob/ma...n/navigator.twig#L48
To put what you want at this line.
Still you already extended the template to add a js in custom.js, update navigator.twig
github.com/LimeSurvey/LimeSurvey/blob/ma...n/navigator.twig#L48
To put what you want at this line.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: achstil
The topic has been locked.
- achstil
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
5 years 4 months ago #178457
by achstil
Replied by achstil on topic change label of submit button
Thanks - both!
The topic has been locked.