Title: Disable submit button
Last modified: July 4, 2018

---

# Disable submit button

 *  Resolved [danielbello](https://wordpress.org/support/users/danielbello/)
 * (@danielbello)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/disable-submit-button-2/)
 * Hello
    Are there any javascript events related to your plugin ? I want to keep
   disabled the form submit button if the checkbox is not checked or if it expires.
   In some html pages, in which I have added the captcha manually, I do that with
   javascript events that captcha has, such as: +//Captcha +var googleCaptchaSuccess
   = function () { + jQuery(‘.red-button.contact-us-button’).removeAttr(‘disabled’);
   + }; + +var googleCaptchaExpired = function () { + jQuery(‘.red-button.contact-
   us-button’).attr(‘disabled’,’disabled’); + }; + +var googleCaptchaError = function(){
   + jQuery(‘.red-button.contact-us-button’).attr(‘disabled’,’disabled’); + }; +
   +jQuery(document).ready(function(){ + jQuery(‘.red-button.contact-us-button’).
   attr(‘disabled’,’disabled’); + });
 * Does this plugin has something similar ?
    Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisable-submit-button-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/disable-submit-button-2/#post-10478896)
 * Hi,
 * Thank you for contacting us!
 * Our plugin just displays block for Google reCAPTCHA, Google reCAPTCHA’s API is
   responsible for all functionality.

Viewing 1 replies (of 1 total)

The topic ‘Disable submit button’ is closed to new replies.

 * ![](https://ps.w.org/google-captcha/assets/icon-256x256.gif?rev=2565249)
 * [reCaptcha by BestWebSoft](https://wordpress.org/plugins/google-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/google-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-captcha/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/disable-submit-button-2/#post-10478896)
 * Status: resolved