WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Contact Form Submit Button (12 posts)

  1. wtfbingo
    Member
    Posted 1 year ago #

    I would LOVE to change the text (value) on the submit button without having to edit the plug-in's grunion php file. How can I override this in my functions.php file?

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I'm afraid we do not offer this option yet, but I took note of your feedback, and we'll consider adding an option to customize the button in a future Jetpack release!

    Trac ticket: http://plugins.trac.wordpress.org/ticket/1742

  3. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    We have now added a new shortcode parameter to allow you to customize the text of the Submit button. This change will be available in the next Jetpack release, and the parameter works like so:

    [contact-form submit_button_text='Submit Now']

  4. jpcutler85
    Member
    Posted 10 months ago #

    Does this short code work now? I am having trouble changing the text of the submit button.

  5. ifingers
    Member
    Posted 9 months ago #

    The code works for me.

    However I am trying to add a Font Awesome icon to my submit button. I am entering code as below, but it is not working. To put it another way Is there another way of adding a class to the button?

    [contact-form submit_button_text='<i class="icon-envelope"></i> Submit Now']

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    You should not need to add a new class: you can use existing CSS classes to target the contact form button, like so:

    .contact-form input[type="submit"] {
    /* Custom Rules here */
    }

    You can also use the :before selector to place an element before the submit button:
    http://css-tricks.com/almanac/selectors/b/before/

  7. indianer9
    Member
    Posted 8 months ago #

    Hi
    It works as long as I write 'Submit Now' but if I change it to the Danish word it fails.

  8. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    @indianer9 Could you please start your own thread, as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    Could you also let me know what Danish word you're trying to use?

    Thank you!

  9. indianer9
    Member
    Posted 8 months ago #

    Yes sorry it seem like a good place to ask.
    Made an new thread
    http://wordpress.org/support/topic/jetpack-contact-form-submit_button?replies=1#post-4908717
    The Dansish word is 'Send'

  10. IreneLinda
    Member
    Posted 4 months ago #

    Hi Jeremy,I have the ocntact form on a page on our WordPRess.org site but no matter where I paste the short code, it make my form disappear.

    I am not too technical. Could you tell me where the code you provided should go? Would like to change the Submit Now text.

    Here is the code for my form.
    [contact-form to='name@mygoforthegreen.com' subject='Skill Advisor Question']<span style="color: #96d440;">[contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Question' type='textarea' required='1'/]</span>[/contact-form]

    Thanks for any help you can provide, Linda

  11. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 4 months ago #

    @IreneLinda Could you please start your own thread, as I mentioned above?

  12. IreneLinda
    Member
    Posted 4 months ago #

    I'm sorry, Jeremy. I missed the "Resolved" button and thought my note sort of continued the conversation (despite having read your post to indianer9). Sorry.

    It's now at this link: http://wordpress.org/support/topic/submit-button-text-on-jetpack-contact-form?replies=1#post-5287413

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic