Title: Use Submit function on different button
Last modified: August 22, 2016

---

# Use Submit function on different button

 *  [bkcol](https://wordpress.org/support/users/bkcol/)
 * (@bkcol)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/use-submit-function-on-different-button/)
 * Looking for some advice on how I can use the submit button functionality (send
   the form information) and tie it to a button that executes another functionality.
 * I have built a Contact form and placed it on the ‘Checkout’ page (woocommerce).
   I don’t want users to push a submit button twice so I want the contact form to
   send the email when the user hits the ‘Place Order’ button.
 * Have you done this before? If so could you offer some guidance?
 * Thanks in advance.
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

The topic ‘Use Submit function on different button’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [buttons](https://wordpress.org/support/topic-tag/buttons/)
 * [integrate](https://wordpress.org/support/topic-tag/integrate/)
 * [submit](https://wordpress.org/support/topic-tag/submit/)

 * 0 replies
 * 1 participant
 * Last reply from: [bkcol](https://wordpress.org/support/users/bkcol/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/use-submit-function-on-different-button/)
 * Status: not resolved