Title: vfb_confirmation hook?
Last modified: August 20, 2016

---

# vfb_confirmation hook?

 *  Resolved [kaduce](https://wordpress.org/support/users/kaduce/)
 * (@kaduce)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/vfb_confirmation-hook/)
 * I need to be able to have my forms post to a leads service. I should be able 
   to accomplish this with the vfb_confirmation hook, correct?
 * add_action( ‘vfb_confirmation’, ‘vfb_action_confirmation’ );
 * function vfb_action_confirmation( $form_id ){
    <form action=”post url here”> }
 * Could you give me an example of what it would look like if I only wanted this
   on forms 1 and 2? Also, where do I insert this hook? visual-form-builder-pro.
   php?
 * Thanks so much Matt!
 * [http://wordpress.org/extend/plugins/visual-form-builder/](http://wordpress.org/extend/plugins/visual-form-builder/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/vfb_confirmation-hook/#post-3574551)
 * You can insert your code in your theme’s functions.php file or create a plugin
   that handles it.
 * If you want to change the action of the form, use the [vfb_form_action](http://vfb.matthewmuro.com/hooks/vfb_form_action/)
   filter.

Viewing 1 replies (of 1 total)

The topic ‘vfb_confirmation hook?’ is closed to new replies.

 * ![](https://ps.w.org/visual-form-builder/assets/icon-256x256.png?rev=1205840)
 * [Visual Form Builder](https://wordpress.org/plugins/visual-form-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visual-form-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visual-form-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/visual-form-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visual-form-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visual-form-builder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/vfb_confirmation-hook/#post-3574551)
 * Status: resolved