In-kind donation
Offer goods or services instead of money.
Why these fields
- Full name: Full name captures a short, searchable answer and is required to complete the request.
- Email: Email provides a validated reply address and is required to complete the request.
- Phone: Phone provides a direct callback option but remains optional.
- Item or service offered: Item or service offered captures a short, searchable answer and is required to complete the request.
- Quantity: Quantity collects a value that can be validated and compared but remains optional.
- Preferred pickup date: Preferred pickup date collects an unambiguous date but remains optional.
- Description: Description leaves room for context and detail but remains optional.
Fields
Full nametextrequiredEmailemailrequiredPhonetelItem or service offeredtextrequiredQuantitynumberPreferred pickup datedateDescriptiontextarea
Preview
Code
import { useState } from "react";
export function InKindDonationForm() {
const [sent, setSent] = useState(false);
async function onSubmit(e: React.FormEvent<HTMLFormElement>) {
e.preventDefault();
const form = e.currentTarget;
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();
}
}
if (sent) return <p>Thanks! Your message has been sent.</p>;
return (
<form onSubmit={onSubmit}>
<label htmlFor="name">Full 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="phone">Phone</label>
<input type="tel" name="phone" id="phone" />
<label htmlFor="item">Item or service offered</label>
<input type="text" name="item" id="item" required />
<label htmlFor="quantity">Quantity</label>
<input type="number" name="quantity" id="quantity" />
<label htmlFor="pickup_date">Preferred pickup date</label>
<input type="date" name="pickup_date" id="pickup_date" />
<label htmlFor="details">Description</label>
<textarea name="details" id="details" />
<input
type="text"
name="_gotcha"
tabIndex={-1}
autoComplete="off"
style={{ position: "absolute", left: "-9999px" }}
aria-hidden="true"
/>
<button type="submit">Send</button>
</form>
);
}
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 with Formward
Create a form, copy your endpoint, and replace https://forms.formward.eu/f/your-form-id in the code above.