Google Recaptcha RequiredCoding / Agustus 2, 2019 Agustus 28, 2020 / Form, Google, HTML, JavaScript if($("#captha").val() == ''){error = true;message += 'Captcha\n';}$("form").submit(function(event) { var recaptcha = $("#g-recaptcha-response").val(); if (recaptcha === "") { event.preventDefault(); alert("Please check the recaptcha"); }});