Just-validate icon indicating copy to clipboard operation
Just-validate copied to clipboard

Recaptcha Validation

Open moshetanzer opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Yes, most forms have recaptchas, however if we are using your libary it would be nice that we could use it for everything in form including recaptcha.

Describe the solution you'd like Implement recaptcha validation using this basic js

var response = grecaptcha.getResponse(); if (response.length === 0) { event.preventDefault(); // Prevent form submission

document.getElementById('recaptchafeedback').style.display = "block";
 /// alert("Please complete the reCAPTCHA challenge.");
  return false; // Prevent form submission
} else {}

Thanks for libary. 

moshetanzer avatar Jun 14 '23 21:06 moshetanzer

Hey, a good suggestion, thanks. I will look what I can do

horprogs avatar Jun 14 '23 21:06 horprogs