• I would like to run some custom validation functions using jquery before the form is submitted.

    How do I call a custom function when submit is clicked, but before the form is submitted, and potentially cancel the submit completely if I find validation errors?

    Are there additional settings for this? The only one I know of is on_sent_ok. Is there an on_sent_before or something similar?

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

  • The topic ‘How do I prevent the form from submitting?’ is closed to new replies.