Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1290565

    Hi,
    I am working woth Enfold vs. 4.8.1

    I activated reCAPTCHA V2 and V3, in Enfold > Google Services (Google Dienste), added the API keys and verified.

    On the Enfold Contact form (“Kontaktformular”), in the “Security” section, I choose “Verwende Google reCAPTACHA V3” and later also the reCAPTCHA V2 but for both options, the contact form presents me a Message:
    “Dieses Kontaktformular ist momentan deaktiviert, da Sie den Google reCAPTCHA-Service noch nicht akzeptiert haben. Dieser ist für die Validierung des Sendevorgangs jedoch notwendig”
    (translation like “contact form is disabled because you did not accept the reCAPTCHA service. However that is mandatory for the validation service”).

    The only Security option on the Contact form that works is the simple “Verwende Enfold Zahlen Captcha”..

    Please explain what is missing to get the Google reCAPTCHA working.
    Thanks

    #1291241

    Hey jmenn2000,

    Sorry for the late reply. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1291299

    Hi Rikard,
    thanks for following up.
    Meanwhile I it could more or less solve that by myself.
    In order to activate Google reCAPTCHA completely, the cookie for Google reCAPTCHA Service must be accepted. If the user opts out of Google . reCAPTCHA, it is not shown on the contact form. Instead it presents that “error” message.

    One thing is open now: how/where can I configure the error message text? I would like to tell the visitor explicitely to accept the cookie.

    Regards
    Jörg

    #1291931

    Hi,

    Thank you for the update.

    There is an available filter called avf_contact_form_recaptcha_disabled_msg, which we can use to adjust the default error message when recaptcha is disabled.

    Please add this code in the functions.php file.

    add_filter("avf_contact_form_recaptcha_disabled_msg", function($msg) {
        $msg = "My custom error message.";
        return $msg;
    }, 10, 1);
    

    Adjust the text as you wish.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.