Title: Error loading forms with ajax
Last modified: March 5, 2020

---

# Error loading forms with ajax

 *  [entumas](https://wordpress.org/support/users/entumas/)
 * (@entumas)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-loading-forms-with-ajax/)
 * 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](https://wordpress.org/support/users/shamim51/)?
 * Thanks
    -  This topic was modified 6 years, 2 months ago by [entumas](https://wordpress.org/support/users/entumas/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [entumas](https://wordpress.org/support/users/entumas/)
 * (@entumas)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-loading-forms-with-ajax/#post-12515627)
 * 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 6 years, 2 months ago by [entumas](https://wordpress.org/support/users/entumas/).
 *  [moewang](https://wordpress.org/support/users/moewang/)
 * (@moewang)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-loading-forms-with-ajax/#post-12643680)
 * I also have this problem. Did you solve it?
 *  Thread Starter [entumas](https://wordpress.org/support/users/entumas/)
 * (@entumas)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-loading-forms-with-ajax/#post-12645036)
 * Yes [@moewang](https://wordpress.org/support/users/moewang/) , deleting the plugin.
   
   Now I use a honeypot: [Honeypot for Contact Form 7](https://wordpress.org/plugins/contact-form-7-honeypot/)
    -  This reply was modified 6 years, 1 month ago by [entumas](https://wordpress.org/support/users/entumas/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error loading forms with ajax’ is closed to new replies.

 * ![](https://ps.w.org/advanced-nocaptcha-recaptcha/assets/icon-256x256.png?rev
   =2961544)
 * [CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress](https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)

 * 3 replies
 * 2 participants
 * Last reply from: [entumas](https://wordpress.org/support/users/entumas/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-loading-forms-with-ajax/#post-12645036)
 * Status: not resolved