Skip to content

Order forms · 6 fields

T-shirt order

Order custom or branded t-shirts.

Get the code

T-shirt order

Live demo: try the fields. Submitting sends nothing.

Why these fields

  • Name

    text · required

    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.

  • Size

    select · optional

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

  • Color

    text · optional

    Color captures a short, searchable answer but remains optional.

  • Quantity

    number · required

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

  • Notes

    textarea · optional

    Notes 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">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="size">Size</label>
  <select name="size" id="size">
    <option value="XS">XS</option>
    <option value="S">S</option>
    <option value="M">M</option>
    <option value="L">L</option>
    <option value="XL">XL</option>
    <option value="XXL">XXL</option>
  </select>
  <label for="color">Color</label>
  <input type="text" name="color" id="color" />
  <label for="quantity">Quantity</label>
  <input type="number" name="quantity" id="quantity" required />
  <label for="notes">Notes</label>
  <textarea name="notes" id="notes"></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 →