Forms not properly submitting

Hello. I followed the guide to use react state forms on the site.


and when I submit the forms I get an 404 redirect error stating that the url doesn’t exist. The link to the code for the forms is here. https://github.com/benjaminfmoore/crithit/blob/master/src/pages/contact/ContactFormField.jsx
and I’m not sure where I need to go to from here. In my dashboard it does show that I have a “contact” form under my forms tab.

I’m honestly, not even very sure where to start with this one. The only other idea I have is rewriting the entire contact field and copying what you have on there.

Hey @benjaminfmoore,

May I ask that you check out our debugging guide and see if this helps?

I might be wrong but looks like you need the right tags such as:

 <form name="contact" action="/" method="POST" data-netlify="true" >
  <input type='hidden' name='form-name' value='contact' />

That being said, I’m using those and still having the same problem with the last two websites I’ve deployed - https://agitated-galileo-6279ac.netlify.app/contact.

Hey @nateknown and welcome to Community!

We’ll continue this over in your thread :slight_smile:.

So I updated the form and managed to get the form to post but now the form is blank when I receive it on the Netlify site

I have a Name, Email and Message form but they don’t want to post over.

Make sure your inputs have a “name” attribute!