Aller au contenu
Blog

Netlify Forms not working after a manual deploy

Netlify Forms stopped working after a drag-and-drop deploy? Check form detection, the static HTML, the form name and the spam list, then redeploy.

The Liite team8 min de lecture

Short answer

Netlify finds forms by reading the static HTML of each deploy, so turn on Forms > Form detection if it is off, then deploy again. Make sure the folder you upload has a <form> with data-netlify="true" and a unique name in plain HTML, not one that JavaScript builds in the browser. Then check the Spam submissions list before you decide nothing arrived.

Your contact form worked when the site deployed from Git. Then you dragged the built folder into Netlify, and submissions stopped showing up under Forms. The search is usually some version of "netlify forms not working manual deploy".

This article draws on Netlify's own documentation plus one community thread (as of September 2025) where the poster fixed it by redeploying from the Deploys tab. That thread doesn't explain why the redeploy worked, and we don't claim it does. The causes below come from Netlify's docs.

Why Netlify Forms stops working after a manual deploy

Netlify has no separate form API to set up. According to its troubleshooting FAQ, it detects forms by parsing your site's static HTML at deploy time. Anything that keeps the form out of that HTML, or stops Netlify from scanning the deploy, gives the same symptom: no form listed, no submissions.

Common causes, most likely first:

  • Form detection is off, or was turned on after the last deploy. The docs say turning on form detection only applies to new deploys, not retroactively. A redeploy after enabling it may be why the original poster's fix worked, but that is our guess, not something the thread confirms.
  • The form isn't in the static HTML. The build system parses your HTML when the build completes, so a form rendered client-side by JavaScript won't be found. Your Git build may have included a static form that the folder you picked doesn't.
  • The form markup is missing a required attribute. The <form> tag needs data-netlify="true" or the netlify attribute, and the form and every input need unique name attributes.
  • The submission is marked as spam. Test entries can land in the spam list instead of the verified one.
  • The request itself is rejected. AJAX posts need a URL-encoded body, a matching form-name, and a blank honeypot field if you use one.
  • The folder isn't the final build output. If you dragged in a source or intermediate folder, it can differ from what your Git build published.

Step-by-step fixes

1. Check that form detection is on, then redeploy

  1. Open your site in Netlify and go to Forms.
  2. If detection is off, select Enable form detection. If you enabled it before, open Forms > Form detection and check the setting.
  3. Deploy again. You can drag the folder in again or trigger a deploy from the Deploys tab.
  4. Submit one test entry with realistic data.

2. Look in the right submissions list

Open Forms, select your form under Active forms, and check the list. Netlify's docs say test submissions can be flagged as spam, and you can switch to Spam submissions from the menu above the list. Use realistic test data and avoid sending repeated entries from one IP.

3. Check the form markup in the folder you upload

Open the HTML file that holds the form in the folder you are about to drag in. A static form following Netlify's usual pattern looks like this:

<form name="contact" method="POST" data-netlify="true">
  <input type="hidden" name="form-name" value="contact" />
  <label>Email <input type="email" name="email" /></label>
  <label>Message <textarea name="message"></textarea></label>
  <button type="submit">Send</button>
</form>

Check three things: the form's name is unique, every field has a unique name, and the hidden form-name value matches the form's name. The forms setup docs cover the exact requirements.

4. Put a static copy of the form in the build output

If your site is React, Vue, Svelte, Next.js or similar, the visible form is probably created in the browser. Netlify's FAQ says you need a static HTML "blueprint" form with all possible fields and matching names. It can be a hidden, unlinked HTML file. That file has to be in the folder you upload. If you add a field to the visible form, add it to the blueprint too, because Netlify ignores fields that aren't in the static version.

5. Check the AJAX request if you submit with JavaScript

For AJAX submissions, Netlify's FAQ lists these requirements:

  • Include a hidden input named form-name with the correct value, or send form-name in the POST body.
  • The POST body must be URL-encoded, not JSON.
  • If you use a honeypot field, it must be in the submission and left blank, or Netlify rejects the entry.
  • Post to a static route that exists on your site, not one handled by a redirect or serverless function.

6. Compare the Git output with your folder

If Git deploys worked and manual ones don't, compare the published files from the Git build with the folder you dragged in. Look for a missing page, a missing blueprint file, or a form without data-netlify. Check your deploy log for form detection messages too.

Check the attribute before upload

Look for data-netlify in the files you are about to upload. Netlify's docs describe how it processes forms at deploy time, so the live page may not look the same as your source.

Cause, symptom and fix at a glance

CauseWhat you seeFix
Detection off or enabled lateNo form under FormsEnable it, then redeploy
Form rendered by JavaScriptForm works on the page, nothing is storedAdd a static blueprint form to the folder
Missing data-netlify or nameForm not listedAdd the attribute and unique names
Marked as spamTest entries missing from the verified listCheck Spam submissions
AJAX body or honeypot wrongRequest seems to succeed, no entryURL-encode the body, send form-name, leave the honeypot blank
Wrong folder uploadedWorks from Git onlyUpload the real build output

What won't help

  • Submitting the form many times. If the form isn't registered, more entries change nothing, and repeats can look like spam.
  • Editing your source files without rebuilding. A manual deploy uploads only what is in the folder.
  • Changing visible labels. Detection depends on the markup and the name attributes.

Renaming fields hides old data

If you rename or retype a field, old submissions can lose that column in the Netlify UI, because it shows fields from the latest deployed version of the form. Export your submissions before big changes.

Checklist before you try again

  • Form detection is enabled under Forms, and you redeployed after enabling it.
  • The uploaded folder is the final build output.
  • The form is in static HTML, or a static blueprint copy of it is.
  • The <form> has data-netlify="true" (or netlify) and a unique name.
  • Every input has a unique name, and the hidden form-name matches the form.
  • Test data looks real, and you checked the spam list.

If nothing works

Contact Netlify Support from your team's support page. Include the site name, the deploy ID of the manual deploy, the deploy log, the URL of the page with the form, and the form markup from the uploaded folder. Say that Git deploys worked and manual ones don't, and list what you've tried.

Subject: Netlify Forms not detected after manual (drag-and-drop) deploy

Site: <your-site>.netlify.app
Deploy ID of the manual deploy: <id>
Form name: contact (page: /contact/)

Forms worked when the site deployed from Git. After I uploaded the built
folder by hand, no form is listed under Forms and no submissions arrive.

Already tried: form detection enabled and redeployed; form has
data-netlify="true", a unique name and a matching hidden form-name input;
checked Spam submissions; the form is in static HTML.

Deploy log and the form's HTML are attached. Can you tell me whether the
form was detected in this deploy?

If you only need a contact form

If the form is the only reason you have a build step, a Liite Page has a Form block that you add in the editor, with no folder to build or upload. It takes up to 15 fields, works without JavaScript, and has spam protection, an inbox, email alerts and CSV export. Free accounts get 50 messages and sign-ups a month, and paid plans are unlimited. See the forms docs or start a free page.

One limit: Liite doesn't run server-side code on uploaded sites, so a form in an uploaded HTML file won't post to Liite by itself. Use the Form block on a Page.

Common questions

Are manual deploys unsupported for Netlify Forms?

We found nothing in Netlify's forms docs that says so. They describe detection at deploy time from your HTML, so what matters is that detection is on and the form is in the deployed files.

Do I need to redeploy after changing a form?

Yes. Netlify reads forms at deploy time, so a changed or new form needs a new deploy before it is picked up.

Why does my form work on the page but nothing arrives?

The most common reason is a form built by JavaScript with no static copy in the deployed files. Add the static blueprint form from step 4, redeploy, and test again.

Where are the full requirements?

Netlify's forms setup docs and troubleshooting FAQ have the complete lists.