everyone,
I have read the docs and many articles in this forum, including this support guide , but unfortunately my little form is still not working.
My form is being detected:
And when I submit my form, as far as I can tell, all the form data is submitted correctly:
But I never get a submission:
Now I’m at my wits’ end and welcome any push in the right direction to get this form going.
The hidden HTML form:
The JavaScript rendered form:
And the live form:
https://www.ovinhaca.pt/contact
Thank you in advance
Melvin
January 29, 2024, 5:51pm
3
Hi @stefanfrede ,
Thank you for reaching out and welcome back to Netlify’s Support Forums!
I believe the solution is in our Support Guide 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…
You’re using some kind of server side rendering to render the endpoint. For example, if you’re rendering the page that you’ve set as the endpoint using a serverless function, you’d not seem the submission in the UI. The solution is similar, set the endpoint to a page or an asset (like /favicon.ico
) that already exists.
Could you look that over and give it a try?
Hi Melvin,
Thanks for getting back to me.
I have now changed the endpoint to the static HTML form I use as a placeholder, but unfortunately still no submissions.
luke
January 30, 2024, 8:43pm
5
Hi, @stefanfrede . This information below is from the “Copy as cURL” data from the browser devtools when the form is submitted:
--data-raw 'name=Netlify+Test&email=test%40example.com&phone=503-555-1212&message=This+is+only+a+test.&bot-field=&form-name=contact&submit_1='
Netlify will ignore any form submission with the bot-field
, even if they are empty. That field is being defined above with this: &bot-field=
.
If you remove that from the form submission it will work.
Hi Luke,
Small victory
I removed the bot field and now I actually have submissions.
Unfortunately they are all marked as SPAM
I played around a bit but the result is always the same.
Interestingly, the test email you probably send is not marked as SPAM.
Any ideas on how to solve this?
Thank you very much!
Try submitting from a different device/network
Thank you so much! It looks like the submissions are going through now.