• Hi!

    I use in recaptcha v2. I load the forms in a modal window with ajax.
    The recaptcha don’t appear, the div anr_captcha_field_div is empty

    <div class="anr_captcha_field">
    	<div id="anr_captcha_field_1" class="anr_captcha_field_div"></div>
    </div>

    Can you help me @shamim51?

    Thanks

    • This topic was modified 4 years, 9 months ago by entumas.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter entumas

    (@entumas)

    Checking the code I have noticed that the content of the <div> .anr_captcha_field_div is loaded in a <noscript> element:

    <div class="anr_captcha_field">
    	<div id="anr_captcha_field_1" class="anr_captcha_field_div"></div>
    </div>
    <noscript>
    	<div>
    		<div style="width: 302px; height: 422px; position: relative;">
    			<div style="width: 302px; height: 422px; position: absolute;">
    				<iframe src="https://www.google.com/recaptcha/api/fallback?k=KEY" frameborder="0" scrolling="no" style="width: 302px; height:422px; border-style: none;"></iframe>
    			</div>
    		</div>
    		<div style="width: 300px; height: 60px; border-style: none;
    		bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px;
    		background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
    			<textarea id="g-recaptcha-response-1" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;" ></textarea>
    		</div>
    	</div>
    </noscript>
    • This reply was modified 4 years, 8 months ago by entumas.

    I also have this problem. Did you solve it?

    Thread Starter entumas

    (@entumas)

    Yes @moewang , deleting the plugin.
    Now I use a honeypot: Honeypot for Contact Form 7

    • This reply was modified 4 years, 7 months ago by entumas.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error loading forms with ajax’ is closed to new replies.