Skip to content

Donation forms · 6 fields

Charity donation

Accept monetary donations for a cause.

Get the code

Charity donation

Live demo: try the fields. Submitting sends nothing.

Why these fields

  • Full name

    text · required

    Full name captures a short, searchable answer and is required to complete the request.

  • Email

    email · required

    Email provides a validated reply address and is required to complete the request.

  • Donation amount

    number · required

    Donation amount collects a value that can be validated and compared and is required to complete the request.

  • Frequency

    select · optional

    Frequency keeps answers consistent for filtering and routing but remains optional.

  • Make this donation anonymous

    checkbox · optional

    Make this donation anonymous records a clear acknowledgement or preference but remains optional.

  • Message (optional)

    textarea · optional

    Message (optional) leaves room for context and detail but remains optional.

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">Full 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="amount">Donation amount</label>
  <input type="number" name="amount" id="amount" required />
  <label for="frequency">Frequency</label>
  <select name="frequency" id="frequency">
    <option value="One-time">One-time</option>
    <option value="Monthly">Monthly</option>
    <option value="Annually">Annually</option>
  </select>
  <label>
    <input type="checkbox" name="anonymous" id="anonymous" /> Make this donation anonymous
  </label>
  <label for="message">Message (optional)</label>
  <textarea name="message" id="message"></textarea>
  <input type="text" name="_gotcha" tabindex="-1" autocomplete="off" style="position:absolute;left:-9999px" aria-hidden="true" />
  <button type="submit">Send</button>
</form>

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.

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.

Use this template →