Form backend for HTML forms
Point your form's action at a Formboost endpoint and it works: every submission is stored, screened for spam and emailed to you. No PHP, no server, and no JavaScript required.
Reviewed by Ritu Fadadu · Last reviewed
Why HTML forms need a backend
An HTML form only describes the fields. When someone presses Submit, the browser sends the answers to the URL in the form's action — and on a static site, or any page without server code, nothing is there to receive them. A mailto: action only opens the visitor's email app, and only if they have one set up.
One form endpoint instead
Formboost is that receiving end. Set the form's action to your endpoint and keep everything else as plain HTML: the browser posts the fields, Formboost stores the submission, checks it for spam, emails it to you and sends the visitor on to your thank-you page.
Formboost is a form backend: the form endpoint receives the submission, screens it for spam, stores it and delivers it — the same for HTML as for any other frontend.
Setup in 5 Steps
Create a free form in the Formboost dashboard and copy its endpoint
Set your form's action to the endpoint and its method to POST
Give every field a name — the name becomes the label in your email and dashboard
Optionally add _redirect with a thank-you page on the same site, served over https
Publish, submit once from the live page, and check the submission in your dashboard
Code Example
<form action="https://formboost.app/f/YOUR_ENDPOINT_ID" method="POST">
<label for="name">Name</label>
<input id="name" name="name" type="text" autocomplete="name" required>
<label for="email">Email</label>
<input id="email" name="email" type="email" autocomplete="email" required>
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
<!-- Honeypot: hidden from people; bots fill it in and are flagged as spam -->
<div aria-hidden="true" style="position:absolute;left:-9999px">
<input type="text" name="_honey" tabindex="-1" autocomplete="off">
</div>
<!-- Subject of the email you receive, and where the visitor goes afterwards -->
<input type="hidden" name="_subject" value="New message from the website">
<input type="hidden" name="_redirect" value="https://www.example.com/thanks.html">
<button type="submit">Send</button>
</form>HTML: the details
What happens when someone presses Send
| Step | What happens |
|---|---|
| 1. The browser posts | The fields go to your endpoint as application/x-www-form-urlencoded — the default for a form with method="POST". Only fields with a name are sent. |
| 2. Formboost answers at once | With a redirect: to your _redirect page when it is https:// and on the same site as the form, otherwise to Formboost's thank-you page. |
| 3. The submission is processed | Stored in your dashboard, screened for spam, then emailed to you and sent to any other destination. Anything flagged as spam stays in the dashboard's spam tab and is never forwarded. |
| 4. Your email arrives | Every named field appears in it. Fields starting with _ (_subject, _redirect, _honey, _replyto) are instructions, not answers, so they are left out. |
Common mistakes, and what they look like
| What you see | Cause | Fix |
|---|---|---|
| A field is missing from the email | The input has no name, or it is disabled | Give it a name; use readonly instead of disabled |
| A page of JSON saying not found | The form uses method="GET" or the action URL is wrong | Use method="POST" and copy the endpoint again from the dashboard |
| You land on formboost.app's homepage | The submission was refused: the form sets enctype="multipart/form-data", it was empty, or one address sent too many in a minute | Remove the enctype (file inputs are not supported), and wait a minute between tests |
| Formboost's thank-you page instead of yours | _redirect is http://, on a different domain, or you tested from localhost | Use https:// on the form's own domain and test on the live site |
| Nothing in the dashboard | A typo in the endpoint ID — every request is acknowledged before the form is looked up | Copy the endpoint again and resubmit |
| Your own test lands in the spam tab | The hidden _honey field was filled in — a browser's autofill can do this | Keep autocomplete="off" and tabindex="-1" on it, as in the example |
Going further
- •Want a different set of fields? The HTML form generator writes the markup for you, and the form templates cover enquiries, bookings, registrations and more.
- •Prefer to stay on the page? The generator's HTML + JS version submits with
fetch()and shows a message in place — no redirect. - •On GitHub Pages, Netlify, Vercel or Cloudflare Pages, contact forms for static sites covers the host-specific details.
- •The full request and response contract is in the API reference.
Features That Work Great
Keep going
HTML setup reference
The endpoint contract, responses and reserved fields, with examples.
HTML contact form example (copy-paste ready)
A complete worked example, step by step.
Contact forms for static sites
GitHub Pages, Netlify, Vercel, Cloudflare Pages and S3 — host by host.
HTML form generator
Pick fields and copy the finished form, ready to paste.
AI spam protection for forms
What screens the submissions before they reach you — no CAPTCHA.
All framework guides
Contact form tutorials for every stack.
Frequently Asked Questions
Common questions about using Formboost with HTML
Do I need JavaScript for an HTML form backend?
No. A plain form with method="POST" and the endpoint as its action is enough: the browser sends the fields and Formboost answers with a redirect to your thank-you page. Add JavaScript only if you want to stay on the page and show a message instead.
Why did I land on formboost.app instead of my thank-you page?
Either the redirect was not allowed — _redirect must be https and on the same site as the form, so a test from localhost falls back to Formboost's thank-you page — or the submission was rejected. A form sent as multipart/form-data, an empty form, or too many submissions in a minute from one address are redirected to Formboost's homepage by default.
Can an HTML form send email without PHP?
Not on its own — HTML has no way to send email. With Formboost the form posts to your endpoint and Formboost sends the notification email, with every named field in it.
Can the form accept file uploads?
No. The endpoint accepts text, choices, dates and links, sent as URL-encoded or JSON. Ask for a link to the file instead, for example a shared Google Drive or Dropbox link.
Start building with Formboost and HTML
It takes less than a minute to set up. No credit card required.