• Resolved bb99

    (@bb99)


    Hi,

    The recaptcha is not showing on my CF7 which is added via AJAX.

    Is there a workaround for this?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    If a Contact Form is added dynamically, the Google ReCaptcha must also be called dynamically. What we recommend is taking a look at the wpcf7-recaptcha-controls.js file in the plugin’s assets:

    wpcf7-recaptcha/assets/js/wpcf7-recaptcha-controls.js

    In your AJAX callback, once the form has been loaded, you could compartmentalize the same code in yourr JS file which should initialize the reCaptcha. Let us know if you have any questions or run into any issues. Have a wonderful rest of your week!

Viewing 1 replies (of 1 total)
  • The topic ‘Recaptcha not Showing in CF7 form added via ajax’ is closed to new replies.