Bootstrap registration form

Build a registration form with Bootstrap 5 and no backend. Lay the fields out in a two-column grid that stacks on mobile, and signups land in your inbox. Copy the markup and add your access key.

How to build it

  1. Create a form in your Formpaste dashboard and copy its access key.
  2. Copy the markup below into your page.
  3. Replace YOUR_ACCESS_KEY_HERE with your access key, then publish.

Prompt for your AI coding agent

Give me a Bootstrap 5 registration form that POSTs to https://api.formpaste.com/submit with a hidden access_key input. Use a row with col-md-6 columns, mb-3, form-label, form-control, form-text and btn btn-primary. Rely on native browser validation rather than Bootstrap's custom validation script. No jQuery, no backend.

Or connect the Formpaste MCP server to Claude Code, Codex, Cursor, Claude Desktop, VS Code, or any mcp-remote client. See the setup guide.

Bootstrap gotchas

Bootstrap styles the form, Formpaste receives it. Point a normal Bootstrap form at the Formpaste endpoint, keep the hidden access key, and submissions land in your inbox. There is no plugin, no jQuery, and no backend of your own.

It is a normal form with Bootstrap classes

Nothing about Bootstrap changes how a form submits. Add form-label, form-control and btn btn-primary to the usual markup, set the action to the Formpaste endpoint, and the browser posts it. Bootstrap only supplies the styling.

Validation styles are presentation only

was-validated, is-invalid and invalid-feedback style the form in the browser. They do not filter spam and they do not validate anything server-side. Formpaste still applies its own spam filtering after the post.

Use the Bootstrap 5 class names

Bootstrap 5 renamed several form classes: form-group became mb-3, custom-select became form-select, and form-control-file became form-control. If you are copying an older Bootstrap 4 snippet, update those names or the styling will not apply.

Keep the hidden access_key

Leave the hidden access_key input in place so Formpaste knows which form the submission belongs to. It is a normal input, so Bootstrap's styles ignore it.

What to get right

Formpaste is a form backend, not an auth provider

A registration form collects details and emails them to you or forwards them to your system. It does not create login accounts or store passwords. For real authentication, wire the submission to your auth tool and never treat the form as a credential store.

Never email raw passwords

If you collect a password here, forward the submission to your own signup endpoint over a webhook rather than having it land in an inbox. Better still, capture only the details you need and let your auth provider set the password.

Validate on the client too

Match the two password fields and require an email format in the browser so people fix mistakes before they submit. Formpaste still filters spam on the server.

How it works

Three simple steps for form submissions to land in your email inbox.
Create your form, set your form's action URL to Formpaste's endpoint, and add your access key.

1

Create your form

Sign up, verify your email, and create an access key in your dashboard.

2

Copy the code

Paste the snippet above into your project. Pick CSS or Tailwind to match your site.

<form action="https://api.formpaste.com/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY_HERE">
  <div class="row">
    <div class="col-md-6 mb-3">
      <label for="first" class="form-label">First name</label>
      <input type="text" class="form-control" id="first" name="first_name" required>
    </div>
    <div class="col-md-6 mb-3">
      <label for="last" class="form-label">Last name</label>
      <input type="text" class="form-control" id="last" name="last_name" required>
    </div>
  </div>
  <div class="mb-3">
    <label for="email" class="form-label">Email</label>
    <input type="email" class="form-control" id="email" name="email" required>
    <div class="form-text">We will only use this to confirm your account.</div>
  </div>
  <button type="submit" class="btn btn-primary">Create account</button>
</form>
3

Add your access key

Replace the placeholder with your access key to start receiving submissions.

<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY_HERE">

Bootstrap registration form FAQ

Paste a form. Get submissions.

Instantly without setting up any backend, servers or databases. 250 submissions/mo free - no credit card.

Other Bootstrap forms