Support » Plugin: Controls for Contact Form 7 » Is it possible to disable Ajax and still prevent multiple form submissions?

  • Resolved krashx6


    I was using a block of code that prevented double submissions. It no longer works when using disable Ajax. Anyone know a way to prevent double submissions while still disabling ajax?

    jQuery(document).on('click', '.wpcf7-submit', function(e){
         if( jQuery('.ajax-loader').hasClass('is-active') ) {
              return false;
Viewing 1 replies (of 1 total)
  • Plugin Author Kaspars


    With AJAX disabled Contact Form 7 will submit the form data via a regular POST request so you probably won’t have double submissions. With AJAX disabled, none of the JS events will fire as far as I understand.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.