<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">$(window).bind('load', function () {
    var form = $('.custom-form');
    if (form) {

        $(form).click(function () {
            var recaptcha = document.getElementById("recaptcha");

            if (recaptcha)
            {
                var recaptchaResponse = grecaptcha.getResponse();
                if (recaptchaResponse.length == 0)
                {
                    document.getElementById('captchaError').innerHTML = "You can't leave Captcha Code empty";
                    return false;
                }
                else
                {
                    document.getElementById('captchaError').innerHTML = "";
                    $('.googleRecaptchaClass').val(recaptchaResponse);
                    return true;
                }
            }
         
        });
    }
});</pre></body></html>