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

    1

    Create a free form in the Formboost dashboard and copy its endpoint

    2

    Set your form's action to the endpoint and its method to POST

    3

    Give every field a name — the name becomes the label in your email and dashboard

    4

    Optionally add _redirect with a thank-you page on the same site, served over https

    5

    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

    StepWhat happens
    1. The browser postsThe 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 onceWith 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 processedStored 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 arrivesEvery 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 seeCauseFix
    A field is missing from the emailThe input has no name, or it is disabledGive it a name; use readonly instead of disabled
    A page of JSON saying not foundThe form uses method="GET" or the action URL is wrongUse method="POST" and copy the endpoint again from the dashboard
    You land on formboost.app's homepageThe submission was refused: the form sets enctype="multipart/form-data", it was empty, or one address sent too many in a minuteRemove 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 localhostUse https:// on the form's own domain and test on the live site
    Nothing in the dashboardA typo in the endpoint ID — every request is acknowledged before the form is looked upCopy the endpoint again and resubmit
    Your own test lands in the spam tabThe hidden _honey field was filled in — a browser's autofill can do thisKeep 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.

    Keep going

    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.