WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Callback for form submit (3 posts)

  1. arti040
    Member
    Posted 1 year ago #

    Hi,
    as in topic - how to fire a callback JS function when form is properly submitted?

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Tracking Form Submissions with Google Analytics

    You can set on_sent_ok hook in the Additional Settings field.

  3. arti040
    Member
    Posted 1 year ago #

    Hi,
    thanks for reply. I've just back to that project and trying to set something like this:

    on_sent_ok: "alert('yo!');"

    ...but even so simple code doesn't work. Form submits correctly for sure - i got a proper message and also got an email for a user. What else can be wrong?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic