Home
Support Forums

Hello Hello i implented recaptcha netlify but when i go to page contact us when its load the page it disappear after 3second

Here is my code

Form
in the head

<head>   
 <title>reCAPTCHA demo: Simple page</title>    <script src="https://www.google.com/recaptcha/api.js" async defer></script>  </head>
<form action="?" method="POST" data-netlify-recaptcha="true">   
 <div class="g-recaptcha" data-sitekey="your_site_key"></div>      <br/>      <input type="submit" value="Submit">    
</form>

Hi @userweb,

Could you post a webpage link to test?

Something is wrong with React. It’s removing the element using JavaScript.

As I can see, the ReCaptcha script is adding the element correctly:

However, the React DOM script is removing it later:

. I’m not sure how you can solve this, if someone else has ideas or experience with this, they could drop their ideas.