Templates
Web form templates in plain HTML, ready to copy.
17 free HTML form templates for the forms most sites need: contact, quote request, waitlist, job application, RSVP, bug report, support ticket, feedback and survey. Every field is chosen for a reason, and the reasoning sits next to the code. No framework, no CSS opinion: copy the HTML, put your endpoint in the action, and it works on any site.
Sales and leads
Support
Bug report form
A bug report form template with severity, steps to reproduce and environment fields, built so an engineer can act on the first submission.
6 fields: Your email, Severity, Steps to reproduce, plus 3 optional. Includes a file upload.
Support ticket form
A support ticket form template with category, priority and order/account reference fields, built to route to the right person on the first pass.
6 fields: Name, Email, What's this about?, Describe the issue, plus 2 optional
Hiring
Events and bookings
Event RSVP form
An event RSVP form template with attendance status, guest count and dietary notes.
5 fields: Full name, Email, Will you attend?, plus 2 optional
Booking / appointment request form
An appointment booking request form template with preferred date/time and service type fields, for businesses that confirm bookings manually.
6 fields: Name, Email, What do you need?, plus 3 optional
Feedback and surveys
Customer feedback form
A customer feedback form template with a rating scale and open comment field, simple enough to actually get filled out.
3 fields: How would you rate your experience?, plus 2 optional
Survey form
A short survey form template with mixed question types (multiple choice, scale, open text), built to stay under five minutes to complete.
4 fields: How often do you use our product?, How satisfied are you overall?, What's one thing we could add or improve?, Email, all optional
Product and waitlists
Waitlist signup
A pre-launch waitlist form template.
2 fields: Email, plus 1 optional
Newsletter signup form
A single-field newsletter signup form template.
1 field: Email
Beta signup form
A beta program signup form template with a use-case field that doubles as an application filter, for programs with limited spots.
3 fields: Email, What would you use this for?, plus 1 optional
Code patterns
AJAX contact form
A contact form that submits with fetch and shows inline success or error, no page reload.
3 fields: Name, Email, Message
Form with JavaScript validation
Client-side form validation done properly.
3 fields: Name, Email, Message
Tailwind CSS contact form
A polished Tailwind CSS contact form with focus rings, spacing rhythm and error styling, plus a working endpoint.
3 fields: Name, Email, Message
Dark mode contact form
A contact form that follows the visitor's light/dark preference with CSS custom properties and prefers-color-scheme, inputs included, unlike most guides.
3 fields: Name, Email, Message
Popup contact form
A modal contact form using the native dialog element.
3 fields: Name, Email, Message
Choosing a template by job
Start from what the form has to achieve, not from how complete it looks. Every extra required field is a reason for someone to leave, so each template asks only for what its job needs.
- Someone wants to get in touch: Contact form
- Name, email and a message is enough to start a conversation. Anything else you need, ask for in your reply.
- You price work per project: Quote request form
- A budget range as a select lets you sort enquiries before replying, and the project description carries the detail.
- Collecting interest before launch: Waitlist signup, Beta signup form or Newsletter signup form
- A waitlist asks for an email and one optional question. Use the beta form when places are limited and you want to choose who gets in, and the newsletter form when the email address is all you need.
- Hiring: Job application form
- Role, experience and a CV upload, ordered so a reviewer can make a first decision from the top of the submission.
- Events and appointments: Event RSVP form or Booking / appointment request form
- An RSVP needs a yes or no, a guest count and dietary notes. A booking request collects a service and a preferred date for someone to confirm by hand.
- Something is broken: Bug report form or Support ticket form
- A bug report asks for severity, steps to reproduce and an optional screenshot, so an engineer can act on it. A support ticket asks for a category and priority, so it reaches the right person first time.
- Asking what people think: Customer feedback form or Survey form
- Feedback is one rating plus a comment. A survey mixes multiple choice, a scale and open text, kept short enough that people finish it.
- You need the code around the form: AJAX contact form, Form with JavaScript validation or Popup contact form
- The same three contact fields, with submit-without-reload, inline validation or a native dialog popup. The Tailwind and dark mode versions are under Code patterns below.
None of them fit? Build your own with the HTML form generator, which produces the same markup as these templates for any fields you choose.
What every web form needs
Whichever template you start from, the same handful of details decide whether a submission arrives intact. Here they are in one small form:
<form action="https://send.webforms.to/wft_your_key" method="POST"
enctype="multipart/form-data">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
<label for="cv">CV</label>
<input type="file" id="cv" name="cv">
<!-- Honeypot: hidden from people, filled by bots -->
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off"
style="position:absolute;left:-9999px" aria-hidden="true">
<button type="submit">Send</button>
</form>- A label for every field. Tie each
<label>to its input with matchingforandid, so screen readers announce it and a click on the label focuses the field. A placeholder is not a label: it disappears as soon as someone types. - A name on every field. The browser only sends fields that have a
name, and the name is the key the value arrives under. Anidalone sends nothing. On WebForms, names that start with an underscore are settings rather than data, so keep them for things like_gotchaand_next. - An action and method="POST". Without an
actionthe form posts back to its own page, which on a static site has nothing behind it. Withoutmethod="POST"the browser uses GET and puts every answer in the address bar. - enctype for files. A file input only sends the file when the form has
enctype="multipart/form-data"; otherwise only the file name arrives. The templates with a file field (Job application form and Bug report form) already include it. On WebForms, uploads need a Pro plan or above and must be turned on for the form; see file uploads. - A honeypot. Add a text input named
_gotchaand hide it with CSS, as above, rather than withtype="hidden", which some bots skip. People never see it; a bot that fills every field fills this one too, and the submission is rejected. The templates leave it out so the field list stays readable, so paste it in before you go live. Honeypot or captcha? - required only where you mean it. The browser blocks submission until required fields are filled, which helps honest visitors. It is a convenience, not a guarantee: anything can post to a URL without running your page.
Where the form sends
HTML can draw a form but cannot deliver one; the POST needs something on the other end. Every template posts to a placeholder endpoint. Create a form on WebForms, paste its endpoint into the action, and submissions are spam filtered, stored and sent on to your inbox. The free plan covers 300 submissions a month by email; Pro, from $5 a month, adds Slack, Discord, Telegram, webhooks, routing rules and file uploads. If a form you have pasted in does not submit, the form debugger reads the markup and names the problem.