Contact Form 7 – add custom function on email send

Just playing around with WordPress / Contact Form 7.

Is it possible / do you know how to add custom javascript function on successful email send event?

Related posts

Leave a Reply

1 comment

  1. simply add you JavaScript function to your page then find the Additional Settings field at the bottom of the contact form management page and use the on_sent_ok JavaScript action hook like so:

    on_sent_ok: "MY_JavaScript_function_Name();"