Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 2.73 KB

File metadata and controls

74 lines (60 loc) · 2.73 KB
title Formbase Documentation
description Open-source form backend. Get submissions in your inbox and dashboard. No backend code required.

Formbase is an open-source form backend that receives submissions from any frontend, stores them, and notifies you. You own the UI and validation, while Formbase handles storage, file uploads, and email alerts.

Every form gets a unique endpoint like https://formbase.dev/s/your-form-id (or https://your-domain.com/s/your-form-id when self-hosted). Browser posts land on a built-in success page, and server submissions return JSON.

Formbase dashboard with form

Set up a form in the dashboard and get your endpoint. React, Vue, Next.js, Svelte, and more. Accept files alongside text fields. Run Formbase on your own infrastructure.

Quick start: Plain HTML

This is the simplest way to use Formbase. Post a standard HTML form and let Formbase handle the redirect.

In the Formbase dashboard, create a new form and copy its endpoint URL. Use the endpoint as the form `action`. This works in any static site or template.
```html index.html
<form action="https://formbase.dev/s/YOUR_FORM_ID" method="POST">
  <label for="name">Name</label>
  <input id="name" name="name" type="text" required />

  <label for="email">Email</label>
  <input id="email" name="email" type="email" required />

  <label for="message">Message</label>
  <textarea id="message" name="message" required></textarea>

  <button type="submit">Send</button>
</form>
```

The `name` attributes become the keys in your submission data.
Submit the form in a browser and confirm the submission appears in the dashboard.

Why Formbase

MIT licensed. Self-host or use the managed service. Works with any framework. No vendor lock-in. Export submissions anytime. No data hostage situations.