<> function cdactivLoadRecaptcha() { if (typeof grecaptcha !== 'undefined' && grecaptcha.enterprise) { grecaptcha.enterprise.ready(function() { grecaptcha.enterprise.execute( '6LfNnBYsAAAAAD20Hm9mreSIElYjtRT6hD5jx17p', {action: 'submit'} ).then(function(token) { const forms = document.querySelectorAll('form.et_pb_contact_form'); forms.forEach(function(form) { let field = form.querySelector('input[name="g-recaptcha-response"]'); if (!field) { field = document.createElement('input'); field.type = 'hidden'; field.name = 'g-recaptcha-response'; form.appendChild(field); } field.value = token; }); }); }); } else { setTimeout(cdactivLoadRecaptcha, 150); } } document.addEventListener('DOMContentLoaded', cdactivLoadRecaptcha); >