A static site has no server of its own to receive a form. On Netlify, Vercel and Cloudflare Pages you have three ways to handle one:
Option Trade-off
Your host's form feature Netlify has one (Netlify Forms). Vercel and Cloudflare Pages don't.
A serverless function Netlify Functions, Vercel Functions or Pages Functions. Full control, but you build email delivery, spam filtering and storage yourself.
A form backend Keep your own HTML. The backend receives the POST, filters spam and emails you. It works the same on any host.
This guide uses a form backend, Formkove, which has a free plan with 300 submissions a month. The HTML is the same on all three hosts; the differences are in step 2. On GitHub Pages or Jekyll? Follow How to add a contact form to GitHub Pages instead.
1. Create a form
Sign up free , click New form , and copy the endpoint URL:
https://app.formkove.com/api/forms/YOUR_FORM_ID/submissions
Enter fullscreen mode
Exit fullscreen mode
Submissions go to your account email by default.β¦