Welcome to the LimeSurvey Community Forum

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

change text for submit button

  • xibit12
  • xibit12's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #200969 by xibit12
change text for submit button was created by xibit12
Hello,
i would like to change the text of the submit button and make the button bigger and more striking.
What code can I use for this?
Do I then insert the code under custom.css?
I work with an extended fruity template and use version 3.22.11+200330.
Thank you very much!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200981 by Joffm
Replied by Joffm on topic change text for submit button
Hi,
you change the text of the submit button by adding this javascript snippet into your question text
Code:
<script type="text/javascript" charset="utf-8">
  $(document).ready(function(){
    var submitText = 'Finish the survey';
    $('#ls-button-submit').text(submitText);
  });
</script>

and the look and feel of the button in your theme.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: xibit12
The topic has been locked.
  • xibit12
  • xibit12's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #200986 by xibit12
Replied by xibit12 on topic change text for submit button
Thank you very much for your quick help! The addition " into your question text" was essential for me :)
It worked, but now there is a grey bar.
Is there a possibility to hide it?

Screenshot is attached.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose