Bootstrap feedback form

Build a compact feedback form with Bootstrap 5 and no backend. Floating labels keep it small enough to sit at the bottom of a page, and responses 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 feedback form that POSTs to https://api.formpaste.com/submit with a hidden access_key input. Use form-floating wrappers so the labels sit inside the fields, and btn btn-primary. 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

A rating plus a comment is the sweet spot

One select for the score and one textarea for the why gives you both a number to track and the context behind it, without a long form.

Let people stay anonymous

Mark name and email optional. Feedback is more honest when it is not tied to an identity, and you still filter spam automatically.

Route feedback where you will see it

Forward submissions to a shared inbox or a webhook into your tracker so nothing sits unread.

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="form-floating mb-3">
    <input type="email" class="form-control" id="email" name="email" placeholder="you@example.com">
    <label for="email">Email (optional)</label>
  </div>
  <div class="form-floating mb-3">
    <textarea class="form-control" id="message" name="message" placeholder="Your feedback" style="height: 120px" required></textarea>
    <label for="message">Your feedback</label>
  </div>
  <button type="submit" class="btn btn-primary">Send feedback</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 feedback 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