Maintenance request

Report a maintenance or repair issue.

Why these fields

  • Name: 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.
  • Location / unit: Location / unit captures a short, searchable answer and is required to complete the request.
  • Urgency: Urgency keeps answers consistent for filtering and routing but remains optional.
  • Describe the issue: Describe the issue leaves room for context and detail and is required to complete the request.

Fields

NametextrequiredEmailemailrequiredLocation / unittextrequiredUrgencyselectDescribe the issuetextarearequired

Preview

Code

import { useState } from "react";

export function MaintenanceRequestForm() {
  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">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="location">Location / unit</label>
      <input type="text" name="location" id="location" required />
      <label htmlFor="urgency">Urgency</label>
      <select name="urgency" id="urgency">
        <option value="Low">Low</option>
        <option value="Normal">Normal</option>
        <option value="Urgent">Urgent</option>
        <option value="Emergency">Emergency</option>
      </select>
      <label htmlFor="issue">Describe the issue</label>
      <textarea name="issue" id="issue" required />
      <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.

Maintenance request template, copy-paste code | Formward