Support » Plugin: Contact Form 7 » Disable Submit / Send button on click

Viewing 5 replies - 1 through 5 (of 5 total)
  • Lautrec

    (@lautrec)

    Hi,

    I have the same problem. Did you find already a solution?

    Wbr

    idearius

    (@idearius)

    Nop, not yet.

    Maybe @takayukister could offer some insight?

    I have the same problem

    I searched the web thoroughly and nothing worked until I found this. Just add it to your form template in Contact Form 7:

    <script language=”javascript”>
    jQuery(document).on(‘click’, ‘.wpcf7-submit’, function(e){
    if( jQuery(‘.ajax-loader’).hasClass(‘is-active’) ) {
    e.preventDefault();
    return false;
    }
    });
    </script>
    [submit “Submit”]

    Hi, @mworleysr.

    Just tried your code in a simple form with 3 fields and I was able to send it twice.

    Were you able to test it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable Submit / Send button on click’ is closed to new replies.