• nnnaaattt

    (@nnnaaattt)


    Hello,

    The captcha displays correctly on a standard form, but when I embed the same form in a popup (loaded dynamically on the page), the reCAPTCHA widget fails to load and the shortcode [cf7sr-recaptcha] remains visible as plain text.

    To provide some context:

    I have verified that the Google reCAPTCHA script is properly loaded (via the wp_footer() hook) and that the shortcode generates the expected HTML structure (a <div> with the class .cf7sr-g-recaptcha). However, the widget is not initialized in the popup because the content is added after the initial page load.

    Have you encountered this issue before, or do you have a solution to resolve it?

    Thanks in advance for your help!

Viewing 1 replies (of 1 total)
  • Plugin Author Costel Tudose

    (@247wd)

    Hello,

    I haven’t encountered this issue before. Please make sure that the [cf7sr-recaptcha] shortcode is executed correctly when the popup content is loaded. Additionally, you’ll need to reinitialize the reCAPTCHA widget after the popup appears.

    Thank you!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.