Why your contact form sends nothing
You fill in the form, press send, and nothing arrives. These are possible causes, with a check and a fix for each. Which one applies depends on how your site and your form handler are set up.
1. An input has no name attribute
Check: look at each input element. Does it have a name="..." attribute?
Fix: give every input that should be sent its own name, for example <input name="email">. An input without a name is not submitted with the form.
2. The submit button is not linked to the form
What you see: a submit button that has a formaction attribute but no form does nothing.
Check: is the button between the <form> and </form> tags, or does it carry a form attribute holding the id of the form?
Fix: move the button inside the form tags, or set its form attribute to the form's id.
3. The form action is missing or points to the wrong place
What you see: the data goes to the wrong address, or to the page the form is on.
Check: look at the <form> tag. Does it have an action attribute, and is the address the one that should receive the message? If there is no action, the data is sent to the address of the page that holds the form.
Fix: set action to the address of the handler that receives the message. On Netlify Forms the rule is different: action can name a custom success page, a path relative to the site root that starts with a /, and the form does not need a handler address there.
4. Nothing is set up at the action address
What you see: the form is sent but no handler processes it.
Check: does the address in action lead to a script or form service that is set up to receive and process the data?
Fix: set up a handler at that address.
5. On Netlify Forms, the form needs the netlify attribute and must be in the HTML that is built
Netlify Forms reads the form from your page's HTML when the site is built. Form detection must be switched on for the site, and the <form> tag must carry data-netlify="true" or a netlify attribute.
Check: in your source HTML (the files you deploy, not the live page), does the <form> tag carry data-netlify="true" or a netlify attribute? Netlify removes that attribute from the published page and adds a hidden input named form-name, so look for form-name when you view the live page. Is the whole form present in the HTML you publish, and is form detection enabled in your Netlify settings?
Fix: on Netlify, add data-netlify="true" or netlify to the <form> tag, put the form in the published HTML, enable form detection and deploy the site again. A form that a script draws later needs a matching hidden form in the HTML with the same input names, and a hidden input named form-name in the script-drawn form, as described in the Netlify Forms documentation.
6. On Netlify Forms, a script sends the form in a format Netlify does not accept
Check: does a script send the form with fetch, and does the form have a file upload field? Netlify states that Netlify Forms does not support JSON form data at this time.
Fix: for a form without file uploads, turn the form data into a URL-encoded string with new URLSearchParams(formData).toString(), send that string as the body, and set the header Content-Type: application/x-www-form-urlencoded. For a form with a file upload, send new FormData(form) as the body and set no Content-Type header; Netlify says the browser should detect and set it automatically.
7. The browser stops the send because of validation
What you see: pressing send does not submit the form.
Check: are there required fields, or input types such as email, that the browser checks before sending? Is one of them empty or not valid?
Fix: fill in each required field with valid data.