• Resolved Howdy_McGee

    (@howdy_mcgee)


    I have a fake multi-page form – some hidden divs that fade in and fade out when you click buttons. My problem is that when somebody submits their form and there’s a problem on the previous pages, they don’t know this. As a solution I’m looking to bind some jquery to ‘ajax:complete’ which will see if there are errors.

    Is there a better way to do this? Is there some kind of jquery I can run when the form errors out?

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Contact Form 7 triggers an invalid.wpcf7 event when it failed to send because of validation errors. You can define an event handler function and attach it to the event with .on() method.

Viewing 1 replies (of 1 total)
  • The topic ‘Bind Jquery to Submission Ajax Call’ is closed to new replies.