perry
May 19, 2022, 4:00pm
2
Hi there mehmetguduk, i don’t really speak react, so i am personally not really able to debug your form, but, i do know special things need to happen in order to handle submissions via javascript.
maybe these guides will help a little:
Last reviewed: August 2023
Fear not, there’s just a couple of extra things to make sure you have that will probably get things working!
The most frequent cause of problems with JS forms is that you (or your static site generator) need to create an HTML version of your form to match your JavaScript version. Some frameworks like gatsby/react may do this automatically, but the important part is that the HTML version MUST match what your JS submits exactly: same form name, and field names. You mu…
Last reviewed by Netlify Support on May 25, 2022
I have a form rendered using JavaScript, but it’s not submitting. What’s going on?
There are a few things to consider when using JavaScript with a Netlify-handled form:
If you have rendered your form using JavaScript and are not using a Static Site Generator (or, your generator does not render it down to HTML such as Gatsby does), you will need to make sure you have a hidden, pure HTML version of your form somewhere in your site.
This means …