Contact Form 7 Issues Tricks and Solution

How to make Submit button of Contact Form 7 inactive or disable but keeping the form live

You can show the Contact Form 7 form in your live site, but can make the Submit button remain disable so that no one can submit it . Here I am sharing you a piece of jQuery code using which you can make the Contact Form Submit button block or inactive.

de

Here is the jQuery code

<script>


jQuery(document).ready(function() {
   

jQuery('.wpcf7-form-control.wpcf7-submit').on('click',function(e){

  e.preventDefault();


});


});

</script>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s