Request forms · 5 fields
Shipping request form template
For a warehouse or office that sends things on request: samples to prospects, spare parts to customers, equipment to colleagues working from home. The requester gives an address, a speed and a date.
Shipping request
Live demo: try the fields. Submitting sends nothing.
02 / Field guide
Why these fields
Name
text · requiredRequired. The recipient's name as it should appear on the label.
Email
email · requiredRequired. The tracking number is sent here.
Shipping address
textarea · requiredRequired textarea, which accepts any national format. Ask for country and postcode on their own lines, and for a phone number in the same box if your carrier requires one.
Shipping method
select · optionalOptional. Standard is preselected in the generated HTML, a harmless default. Rename the options to the services your carrier really offers.
Needed by
date · optionalOptional date. Combine it with the method when packing: overnight to another country is a wish, not a service.
When to use it
Use it for shipments outside a webshop checkout, where no order exists yet. If there is an order, the shop system already holds the address.
The template has no field for what should be sent, so add one: a hidden field per product page, or a free text line for mixed requests.
Privacy and GDPR
- A home address is personal data that people care about. Use it for this shipment and do not copy it into other lists.
- When the parcel is delivered, the request has done its job. A short retention period clears addresses out automatically.
03 / Make it yours
Choose your stack. Copy your form.
Replace the example endpoint with your Formward endpoint, then adapt the fields to your needs.
<form action="https://forms.formward.eu/f/your-form-id" method="POST">
<label for="name">Name</label>
<input type="text" name="name" id="name" required />
<label for="email">Email</label>
<input type="email" name="email" id="email" required />
<label for="address">Shipping address</label>
<textarea name="address" id="address" required></textarea>
<label for="method">Shipping method</label>
<select name="method" id="method">
<option value="Standard">Standard</option>
<option value="Express">Express</option>
<option value="Overnight">Overnight</option>
</select>
<label for="needed_by">Needed by</label>
<input type="date" name="needed_by" id="needed_by" />
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off" style="position:absolute;left:-9999px" aria-hidden="true" />
<button type="submit">Send</button>
</form>Accessibility
Accessible by default, and how to keep it that way
- Every field in the code has a visible label tied to it with for and id, so screen readers announce what to enter and a click on the label focuses the field.
- Required fields carry the required attribute, so the browser explains a missing answer before anything is sent. Say “required” in words as well; an asterisk or a colour alone is easy to miss.
- The spam trap field (_gotcha) is hidden from screen readers with aria-hidden and skipped by the Tab key, so people never meet it.
- In the JavaScript versions, show the confirmation or error in an element with role="status" so the result is announced, and keep the entered answers when sending fails.
Changed the fields? Paste your version into the HTML form tester to see exactly what it sends, or run it through the GDPR form checker.
04 / Implementation
How the code talks to Formward
Each form you create gets its own endpoint in the form https://forms.formward.eu/f/your-form-id. The HTML version posts to it directly and the browser is redirected to a thank-you page, so it works without JavaScript.
The Next.js version below sends the same fields with fetch and an Accept: application/json header. Formward then answers with { ok: true, id }, or an error body with 402 when the account is over its allowance and its Over limit folder is full, and 429 when the rate limit kicks in. See responses and status codes.
Next.js client component
"use client";
import { useState } from "react";
export function ShippingRequestForm() {
const [sent, setSent] = useState(false);
const [error, setError] = useState("");
async function onSubmit(e: React.FormEvent<HTMLFormElement>) {
e.preventDefault();
const form = e.currentTarget;
setError("");
try {
const res = await fetch("https://forms.formward.eu/f/your-form-id", {
method: "POST",
headers: { Accept: "application/json" },
body: new FormData(form),
});
if (res.ok) {
setSent(true);
form.reset();
return;
}
} catch {
// Network failure: fall through to the same message.
}
// The answers stay in the form so the visitor can try again.
setError("Sending failed. Please try again.");
}
if (sent) return <p role="status">Thanks! Your message has been sent.</p>;
return (
<form onSubmit={onSubmit}>
<label htmlFor="name">Name</label>
<input type="text" name="name" id="name" required />
<label htmlFor="email">Email</label>
<input type="email" name="email" id="email" required />
<label htmlFor="address">Shipping address</label>
<textarea name="address" id="address" required />
<label htmlFor="method">Shipping method</label>
<select name="method" id="method">
<option value="Standard">Standard</option>
<option value="Express">Express</option>
<option value="Overnight">Overnight</option>
</select>
<label htmlFor="needed_by">Needed by</label>
<input type="date" name="needed_by" id="needed_by" />
<input
type="text"
name="_gotcha"
tabIndex={-1}
autoComplete="off"
style={{ position: "absolute", left: "-9999px" }}
aria-hidden="true"
/>
<button type="submit">Send</button>
<p role="status">{error}</p>
</form>
);
}
Spam protection
- The generated code already includes the hidden _gotcha honeypot. Leave it in: a bot that fills it gets a normal success response, the submission is filed as spam and no email is sent.
- Every form has a per-IP rate limit, and you can restrict it to your own domains with the allowed-origins list in the form settings.
- Cloudflare Turnstile is optional and works on every plan, including Free. Turn it on in the form settings, add the widget to your markup and Formward checks the token server-side.
- The form settings can also reject disposable email addresses, which is worth turning on when a fake address would waste your time.
What happens after submit
- Each shipping request is emailed to your notification address and kept in the dashboard on every plan.
- From Professional, a webhook can pass the address to your shipping tool to create a label.
- From Personal, export the day's requests as CSV for carriers that accept a bulk upload.
Questions
- Can the form validate addresses?
- No. A textarea accepts whatever is typed. Split it into street, postcode, city and country inputs with required attributes if you need structure, and let your carrier's tool verify the result.
- How do I stop strangers from requesting free samples in bulk?
- Limit the form to your own site with the allowed-origins list, switch on Turnstile, and set a submission limit in the response settings for campaigns with a fixed number of samples.
Related
- Order enquiry template
When the customer is ordering, not just receiving.
- Return (RMA) request template
Shipments in the other direction.
- Spam filtering
Protecting a form that gives something away.
- Request templates
Every request form in the library.
Customize before publishing
- Remove fields you do not need and mark only essential answers as required.
- Replace placeholder wording with terms your audience already understands.
- Add your privacy notice, retention details and expected response time.
- Test keyboard focus, validation errors and the confirmation state on mobile.
Use this template
Create a free account and the form is set up from this template. Copy your endpoint and replace https://forms.formward.eu/f/your-form-id in the code above.