Contact Form Submit Button
-
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?
-
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.ww.wp.xz.cn/ticket/1742
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']Does this short code work now? I am having trouble changing the text of the submit button.
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']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
:beforeselector to place an element before the submit button:
http://css-tricks.com/almanac/selectors/b/before/Hi
It works as long as I write ‘Submit Now’ but if I change it to the Danish word it fails.@indianer9 Could you please start your own thread, as per the Forum Welcome?
http://ww.wp.xz.cn/support/plugin/jetpack#postformCould you also let me know what Danish word you’re trying to use?
Thank you!
Yes sorry it seem like a good place to ask.
Made an new thread
http://ww.wp.xz.cn/support/topic/jetpack-contact-form-submit_button?replies=1#post-4908717
The Dansish word is ‘Send’Hi Jeremy,I have the ocntact form on a page on our ww.wp.xz.cn 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='[email protected]' 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
@irenelinda Could you please start your own thread, as I mentioned above?
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://ww.wp.xz.cn/support/topic/submit-button-text-on-jetpack-contact-form?replies=1#post-5287413
The topic ‘Contact Form Submit Button’ is closed to new replies.