$('form').on('submit', function(e) { if(grecaptcha.getResponse() == "") { e.preventDefault(); alert("You can't proceed!"); } else { alert("Thank you"); } });
Jagdish Sarma Asked question March 30, 2021
$('form').on('submit', function(e) { if(grecaptcha.getResponse() == "") { e.preventDefault(); alert("You can't proceed!"); } else { alert("Thank you"); } });