Edit: removed site url
Netlify admin panel says I have 2 active forms, but I only have one form on my contact page.
When I submit a form, all the form fields are cleared on the contact page, and nothing else is shown. I would like a little thank you message to show when a form is submitted.
But the main thing is that the Netlify admin panel shows “no submissions yet”.
Why is the form submission not being detected?
@Presence I can’t answer your specific questions, but…
The forms debugging guide that people are are most often referred to is here:
Last reviewed August 2023
Please give these debugging tips a try before making a new post. If none of the suggestions work, please include the information that we request at the end of this guide in the new post that you create. Thank you!
Why use Forms?
Forms are one of the most useful parts of modern websites because they allow us to capture input from our visitors.
There are many ways to use forms: contact forms, such as contact forms and sign-up forms. Seeing as there are many types of fo…
The documentation for adding a custom success page is here:
Thank you for your reply.
I will have a look at the links you have posted.
I’ve found the problem. ReCaptcha is causing the form submission to fail. After I removed the the captcha code, the form submission works.
This piece of google reCaptcha code is what is preventing form submission:
What can I do? I am new to web dev, and Netlify.
EDIT: I don’t know why the one line reCaptcha code is not showing.
I found this page about google reCaptcha V2:
I have both the script in my head tag and div in the body of my form, and no code for forms in JS, but am still having problems with form submission. When I click submit, there is no acknowledgement that the form has been submitted - the only thing that happsn is the form input fields are cleared and become blank.
If I was to remove the captcha code in the body of the form, the form submission works as expected, with acknowledgement.
Could you clarify what code you were trying to show here:
For Netlify Recatcha, you’ll want to check your code against the docs here:
@Melvin, thanks for your reply.
The google reCaptcha code is:
div class=“g-recaptcha” data-sitekey=“6LchZiQpAAAAACdhwiEyiyki3tEMOMx-pxmUdj8k” /div
I had remove some angled brackets for the code to be displayed here.
I used the Netlify reCaptcha and form submission worked!
Thanks a lot, much appreciated.
Thanks for following-up and letting us know how you resolved the issue. I hope you have a great day!