Title: Error when submitting form
Last modified: May 14, 2023

---

# Error when submitting form

 *  Resolved [wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * (@wpcheetah)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-when-submitting-form-13/)
 * The form fails to submit, the animation keeps going but it never finishes.
 * In the console I see this error:
 * Uncaught TypeError: Cannot read properties of null (reading ‘length’) at HTMLDivElement.
   <anonymous> (script.js?ver=6dae24…bfc7705e0f95:1:4275)

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

 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16737260)
 * Dear [@wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * I trust this message finds you in good health.
 * I kindly request your assistance in providing the URL of the webpage where the
   reported error is occurring.
 * Thank you for your attention to this matter.
 * Sincerely, 
   Sumit
 *  Thread Starter [wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * (@wpcheetah)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16737278)
 * Hi, thanks for your reply. I reinstalled the plugin and the error seems to have
   gone away, but when I activate recaptcha (v3) I get this instead:
 * Uncaught ReferenceError: grecaptcha is not defined at HTMLDivElement.<anonymous
   > (script.js?ver=6dae24…bfc7705e0f95:1:4291)
 * This is the URL : [https://optimizewp.co/test/](https://optimizewp.co/test/)
 *  Thread Starter [wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * (@wpcheetah)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16737282)
 * Oh, after disabling recaptcha the first error comes back:
 * Uncaught TypeError: Cannot read properties of null (reading ‘length’) at HTMLDivElement.
   <anonymous> (script.js?ver=6dae24…bfc7705e0f95:1:4275)
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16737585)
 * Hello [@wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * I would like to express my gratitude for the information you kindly provided.
   However, it appears that we are currently experiencing difficulties accessing
   the page link you shared.
 * To assist you further, I kindly request you to review the screenshot link provided
   below for your reference:
 * [Link to Screenshot](https://nimb.ws/DISiMm)
 * In order to address the issue at hand, it would be greatly appreciated if you
   could provide us with a functional URL. This will enable us to investigate the
   matter and provide the necessary support.
 * Thank you for your cooperation.
 * Best regards, 
   Sumit
 *  Thread Starter [wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * (@wpcheetah)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16737603)
 * Sorry you got caught in the firewall. It should work now.
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16737900)
 * Hi [@wpcheetah](https://wordpress.org/support/users/wpcheetah/) ,
   We are still
   not able to access the webpage.Can you please check again.Regards,Sumit
 *  Thread Starter [wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * (@wpcheetah)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16738224)
 * Sorry again. It should work now
 * [https://optimizewp.co/test/](https://optimizewp.co/test/)
 * recaptcha works fine with contact form 7, but not with your plugin.
 * Thanks for your help.
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16738775)
 * Hi [@wpcheetah](https://wordpress.org/support/users/wpcheetah/) ,
 * Thank you for the page access.
 * As we have checked your website and found recaptcha is not loading properly. 
   There may be a plugin which conflict with it.
 * I request to you to please deactivate plugins ( except the Gutena Forms ) one
   by one and check if you are facing the same issue .
 * Hope your issue will get resolved.
 * Do let us know if you need more help on this issue.
 * Looking forward to your reply.
 * Regards,
   Sumit
 *  Thread Starter [wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * (@wpcheetah)
 * [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16740580)
 * Hi,
 * Disabling all plugins doesn’t help. But added the following to the header works:
 *     ```wp-block-code
       <script src="https://www.google.com/recaptcha/api.js?render=explicit"></script>
       ```
   
 * However, then the script loads twice. But it’s working.

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

The topic ‘Error when submitting form’ is closed to new replies.

 * ![](https://ps.w.org/gutena-forms/assets/icon-256x256.png?rev=2836567)
 * [Gutena Forms – Contact Form, Survey Form, Feedback Form, Booking Form, and Custom Form Builder](https://wordpress.org/plugins/gutena-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutena-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutena-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/gutena-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutena-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutena-forms/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [wpcheetah](https://wordpress.org/support/users/wpcheetah/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/error-when-submitting-form-13/#post-16740580)
 * Status: resolved