DECSEF Sistemas utiliza cookies para mejorar tu experiencia de navegación, personalizar contenido,
analizar nuestro tráfico y ofrecerte funcionalidades esenciales. Al hacer clic en "Aceptar", consientes el uso
de TODAS las cookies según nuestra política.
if (typeof grecaptcha === 'undefined') {
statusText.textContent = 'No fue posible inicializar la validación anti-spam. Recargue la página.';
event.preventDefault();
return;
}
event.preventDefault();
submitBtn.disabled = true;
statusText.textContent = 'Validando información y enviando...';
grecaptcha.ready(function () {
grecaptcha.execute(siteKey, { action: 'submit' }).then(function (token) {
tokenInput.value = token;
submitted = true;
form.submit();
}).catch(function () {
submitBtn.disabled = false;
statusText.textContent = 'No fue posible completar la validación anti-spam. Inténtelo nuevamente.';
});
});
});
})();