Disable submit button
-
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 to see the link]
The topic ‘Disable submit button’ is closed to new replies.