Title: before submit hook
Last modified: July 4, 2017

---

# before submit hook

 *  Resolved [vwkishan](https://wordpress.org/support/users/vwkishan/)
 * (@vwkishan)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/befor-submit-hook/)
 * Hello I need before submit hook.
 * I insert form value in anther post type so please in need before submit hook.
   
   please tell which hook i use???
    -  This topic was modified 8 years, 11 months ago by [vwkishan](https://wordpress.org/support/users/vwkishan/).

Viewing 1 replies (of 1 total)

 *  [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * (@jaredatch)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/befor-submit-hook/#post-9292788)
 * Hey vwkishan,
 * Thanks for reaching out.
 * We have hooks in place that let you take the submitted form data and do other
   things with it. Commonly they are using to send the form data to 3rd party services
   and APIs, but you could just as well take that data and create a post using it.
   The hooks you’d want to look into are `wpforms_process_complete` and `wpforms_process_complete_{
   $form_id}` which are located in `class-process.php`.
 * Our friend Bill Erickson wrote a tutorial that uses this. Check out [https://www.billerickson.net/contact-form-integration/](https://www.billerickson.net/contact-form-integration/).
 * If you don’t want to mess with code and hooks, we do have a Post Submissions 
   addon for our Pro and Ultimate license levels, which can transfer entry data 
   to WordPress posts or custom post types. You can read more about how that would
   work for a regular post [here](https://wpforms.com/how-to-allow-users-to-submit-blog-posts-on-your-wordpress-site/)
   and for a custom post type [here](https://wpforms.com/create-a-user-submitted-events-calendar-in-wordpress/)(
   specifically, an event calendar — though this concept can be applied to other
   custom post types, as well).
 * I hope that helps! Could you let us know if you have any other questions about
   this?

Viewing 1 replies (of 1 total)

The topic ‘before submit hook’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/befor-submit-hook/#post-9292788)
 * Status: resolved