reCaptcha is not visible for the forms in modal popup

Created on 5 January 2024, 11 months ago
Updated 6 August 2024, 3 months ago

Hi,

I am facing an issue, when I opened the form in modal popup, I could not get the reCaptcha challenge field, but it is working fine in normal form or without modal popup. please help me on this.

Thanks
Sachin D

🐛 Bug report
Status

Postponed: needs info

Version

3.0

Component

Invisible reCAPTCHA

Created by

🇮🇳India Sachin_D

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Sachin_D
  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    Bug reports are always against a development branch. Please verify that the bug exists in the development version.

  • Assigned to ritviktak
  • 🇮🇳India ritviktak

    hi,

    I am facing the same issue in my project while using it with my contact modal form. I am working on this issue.

    Thanks
    Ritvik Tak

  • Hi @ritviktak,

    Do you happen to have any updates on this? I'm facing the same issue.

    Thanks in advance,

    Regards,
    Ralph

  • 🇮🇳India abhi_das

    We are also facing the same issue when form navigation is enabled using Ajax. The recaptcha appears on the form if it is placed on the first page and is missing if the recaptcha is placed on any other pages.

  • 🇨🇦Canada mastap

    Same issue here on D10

    One note, we get this "Invalid site key or not loaded in api.js" in the console when the form is loaded via AJAX, but not on regular on page login

    VM332 recaptcha__en.js:501 Uncaught Error: Invalid site key or not loaded in api.js: XXXXXXXXXXXX
    at Array. (VM332 recaptcha__en.js:501:297)
    at VM332 recaptcha__en.js:687:413
    at recaptcha_v3.js?v=10.1.7:34:18

    Thanks!

  • Issue was unassigned.
  • Status changed to Postponed: needs info 3 months ago
  • 🇩🇪Germany Anybody Porta Westfalica

    Which theme are you using? Please provide clear steps to reproduce this in vanilla Drupal. Best would be to explain the steps using simplytest.me!

    I couldn't reproduce this yet.

Production build 0.71.5 2024