
Description
netlify-forms handles HTML forms on sites hosted on Netlify, without any backend code. You mark a form for detection with data-netlify="true", or the bare netlify attribute, which is equivalent, on the form tag. Netlify detects forms by parsing the final built HTML at deploy time. Once detected, it stores submissions, filters spam and sends notifications. Form detection has to be enabled once in the Netlify interface, under Forms, and it takes effect on the next deploy. The skill warns that client-side, JavaScript-rendered and server-rendered forms are not in the built HTML, so they are never detected on their own. For those, it says to add a static skeleton file that contains the form markup. The skill includes a static HTML example: a form named contact that uses POST, with fields for name, email and message and a submit button.…
Highlights
- Detects forms at deploy time, no backend code
- Stores submissions and filters spam
- Sends form notifications
- Static skeleton for JavaScript-rendered forms
- Enable detection once in the Netlify UI
Ratings & Reviews
No ratings yet
Be the first to rate netlify-forms.
People also visit
Formcarry
Make your HTML <form> completely functional under a minute without a single line
netlify-forms FAQ
What does netlify-forms do?
It collects HTML form submissions on Netlify-hosted sites, stores them, filters spam and sends notifications, with no backend code.
How do I mark a form?
Add data-netlify="true", or the bare netlify attribute, to the form tag.
Why is my form not detected?
Forms are detected from the built HTML at deploy time. Client-side, JavaScript-rendered and server-rendered forms are not in that HTML, so they need a static skeleton file. Also check that form detection is enabled in the Netlify UI.
When does detection take effect?
On the next deploy after form detection is enabled in the Netlify UI.
Is any backend code needed?
No. The skill says there is no runtime API call or backend code involved.
What are the best netlify-forms alternatives?
Popular alternatives to netlify-forms include netlify/netlify-forms, create-web-form and netlify-deploy. See all netlify-forms alternatives

