Title: Executing Javascript after successful submission
Last modified: December 21, 2016

---

# Executing Javascript after successful submission

 *  [yositsitsu](https://wordpress.org/support/users/yositsitsu/)
 * (@yositsitsu)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/executing-javascript-after-successful-submission/)
 * Hello dear Mike and all!
 * I use CF7 but I find it rather slow (2-3 seconds of processing)
 * I want to give this apparently awesome plugin a try, but I need to make sure 
   first that I can execute an existing JS code on success.
 * Anybody’s got a clue?
 * Thanks!
    Yosi

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/executing-javascript-after-successful-submission/#post-8575425)
 * Hi, what kind of js code are you trying to execute? Is this code running after
   a form is submitted?
 *  Thread Starter [yositsitsu](https://wordpress.org/support/users/yositsitsu/)
 * (@yositsitsu)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/executing-javascript-after-successful-submission/#post-8575494)
 * Hi, exactly – it is a custom JS function invoked in Additional Settings on_sent_ok–
   as specified here:
    [http://contactform7.com/additional-settings/](http://contactform7.com/additional-settings/)
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/executing-javascript-after-successful-submission/#post-8578633)
 * I am not sure if you can use the js that the URL above talks about. They are 
   purely for Contact Form 7. What this plugin has is validation regex option in
   the fields.
 * What I think you should do is install the plugin and set up a test page and add
   a contact form. Play around and see if it meets your requirements.
 *  Thread Starter [yositsitsu](https://wordpress.org/support/users/yositsitsu/)
 * (@yositsitsu)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/executing-javascript-after-successful-submission/#post-8580181)
 * Thanks for your answer mbrsolution, I’m sure I can’t use that exact syntax ai
   it indeed is purely for CF7 🙂
    What I want to be able to do, is execute my custom
   JS on successful submission, which is not about validation but custom code that
   submits another form.
 * in short, I need to submit the values to another provider after current form 
   is successful.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/executing-javascript-after-successful-submission/#post-8580688)
 * I think I know what you mean. However just to make sure you know what this plugin
   can do, please check the following [documentation](http://www.fastsecurecontactform.com/faq-wordpress-version).
   This documentation covers all the questions you might have about this great contact
   form plugin 🙂
 * Let me know if you need more help.
 * Regards

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Executing Javascript after successful submission’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/si-contact-form_dde2be.svg)
 * [Fast Secure Contact Form](https://wordpress.org/plugins/si-contact-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/si-contact-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/si-contact-form/)
 * [Active Topics](https://wordpress.org/support/plugin/si-contact-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/si-contact-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/si-contact-form/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/executing-javascript-after-successful-submission/#post-8580688)
 * Status: not resolved