The code
<form class="lf-form" action="/api/applications" method="POST" enctype="multipart/form-data">
<div class="field">
<label for="f-full_name">Full name *</label>
<input id="f-full_name" name="full_name" type="text" required />
</div>
<div class="field">
<label for="f-email">Email *</label>
<input id="f-email" name="email" type="email" autocomplete="email" required />
</div>
<div class="field">
<label for="f-phone">Phone *</label>
<input id="f-phone" name="phone" type="tel" autocomplete="tel" required />
</div>
<div class="field">
<label for="f-linkedin">LinkedIn URL</label>
<input id="f-linkedin" name="linkedin" type="url" placeholder="https://linkedin.com/in/…" />
</div>
<div class="field">
<label for="f-position">Position applying for *</label>
<select id="f-position" name="position" required>
<option value="" disabled selected>Choose…</option>
<option value="Software Engineer">Software Engineer</option>
<option value="Designer">Designer</option>
<option value="Product Manager">Product Manager</option>
<option value="Marketing">Marketing</option>
<option value="Other">Other</option>
</select>
</div>
<div class="field">
<label for="f-resume">Resume (PDF) *</label>
<input id="f-resume" name="resume" type="file" accept=".pdf,application/pdf" required />
</div>
<div class="field">
<label for="f-cover_letter">Cover letter</label>
<textarea id="f-cover_letter" name="cover_letter" rows="6" placeholder="Why are you a great fit?"></textarea>
</div>
<button type="submit">Submit application</button>
</form>
<style>
.lf-form { max-width: 480px; margin: 0 auto; font-family: system-ui, sans-serif; }
.lf-form .field { margin-bottom: 1rem; }
.lf-form label, .lf-form legend { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.9rem; }
.lf-form input, .lf-form select, .lf-form textarea {
width: 100%; padding: 0.65rem 0.75rem; font-size: 1rem;
border: 1px solid #d1d5db; border-radius: 0.5rem; background: #fff;
font-family: inherit;
}
.lf-form input:focus, .lf-form select:focus, .lf-form textarea:focus {
outline: 2px solid #2563eb; outline-offset: 1px; border-color: #2563eb;
}
.lf-form .checkbox, .lf-form .radio { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.lf-form .checkbox input, .lf-form .radio input { width: auto; }
.lf-form button {
width: 100%; padding: 0.75rem 1rem; font-size: 1rem; font-weight: 600;
color: #fff; background: #2563eb; border: 0; border-radius: 0.5rem; cursor: pointer;
}
.lf-form button:hover { background: #1d4ed8; }
</style>Live preview
Rendered in a sandboxed iframe — exactly what you'll get when you paste the snippet.
Frequently asked questions
How do I receive the uploaded resume file?
Your server needs to handle multipart/form-data — most backend frameworks do this out of the box. With LemForms, the resume lands in your dashboard as a downloadable file with no backend required.
How do I limit the resume to PDF files only?
The file input below already uses accept=".pdf,application/pdf". Note this is a client-side hint — always re-validate server-side. LemForms enforces file-type and file-size limits both client- and server-side.
Skip the HTML — build this in 30 seconds
LemForms gives you the same form with a real backend: submissions dashboard, email notifications, conditional logic, file uploads, webhooks, and Stripe payments. No code.
Try LemForms freeRelated snippets
- Signup form HTML templateFree signup form HTML template — plain HTML/CSS and Tailwind versions, accessible labels, working validation. Copy, paste, ship.
- Login form HTML templateFree login form HTML template with accessible labels, remember-me checkbox, and forgot-password link. Plain HTML and Tailwind variants.
- Contact form HTML templateAccessible contact form HTML template you can copy in under a minute. Plain HTML/CSS and Tailwind versions, with name, email, subject, and message fields.
- Subscription form HTML templateEmail subscription form HTML template with plan selector, GDPR consent checkbox, and accessible labels. Copy-paste ready.
- Booking form HTML templateFree booking form HTML template with native date + time pickers, party size, and notes field. Plain HTML and Tailwind variants.
- Survey form HTML templateFree survey form HTML template with rating scale, multiple-choice, and open-ended fields. Accessible, mobile-friendly, copy-paste ready.