Bootstrap survey form
Build a survey form with Bootstrap 5 and no backend. Use form-select dropdowns for the quick answers and one textarea for the open question, and responses land in your inbox. Copy the markup and add your access key.
How to build it
- Create a form in your Formpaste dashboard and copy its access key.
- Copy the markup below into your page and edit the options.
- Replace YOUR_ACCESS_KEY_HERE with your access key, then publish.
Prompt for your AI coding agent
Give me a Bootstrap 5 survey form that POSTs to https://api.formpaste.com/submit with a hidden access_key input. Use form-select dropdowns for the fixed-choice questions, a form-control textarea for the open one, 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
Keep it short to keep completion high
Every extra question loses responses. A couple of dropdowns and one open comment field usually gathers what you need without fatigue.
Dropdowns beat free text for analysis
Fixed choices (select fields) are easy to count later. Reserve the textarea for the one open-ended question that genuinely needs it.
Make email optional for honest answers
Anonymous responses are often more candid. Ask for email only if you need to follow up, and mark it optional.
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.
Create your form
Sign up, verify your email, and create an access key in your dashboard.
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="mb-3">
<label for="rating" class="form-label">How would you rate us?</label>
<select class="form-select" id="rating" name="rating" required>
<option value="">Choose one</option>
<option>Very good</option>
<option>Good</option>
<option>Not great</option>
</select>
</div>
<div class="mb-3">
<label for="found" class="form-label">Did you find what you needed?</label>
<select class="form-select" id="found" name="found" required>
<option value="">Choose one</option>
<option>Yes</option>
<option>Partly</option>
<option>No</option>
</select>
</div>
<div class="mb-3">
<label for="comments" class="form-label">Anything else?</label>
<textarea class="form-control" id="comments" name="comments" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-primary">Send</button>
</form>
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 survey form FAQ
Paste a form. Get submissions.
Instantly without setting up any backend, servers or databases. 250 submissions/mo free - no credit card.