Requirements and tools · One Page Before You Buy
Should validation happen during entry or after submission?
Agree which request errors to block, which warnings to review and how to accept legitimate exceptions, with a practical validation specification.
The equipment desk returns another loan request. The asset number identifies a projector; the requester wanted a laptop. Someone must find the right number before the booking can proceed. The manager wants stricter checks on the request form so the desk stops discovering mistakes after submission.
In this fictional community-centre network, that sounds reasonable until another request fails. An older laptop carries the identifier L-00417. The inventory confirms it, but the form accepts only six digits. The stricter rule has rejected a correct answer.
The decision is not simply whether to validate earlier. It is which facts can be established before submission, which require judgement and who takes responsibility when the answer falls outside the expected pattern.
Catch a correctable mistake without pretending to approve the request
An ordinary loan request gives the equipment desk a requester and contact route, an asset identifier, a destination, and collection and return dates. The form looks up the identifier and shows the equipment description for the requester to check. The desk then checks availability and suitability. Intake ends with a confirmed booking stating the item, dates and destination, or a refusal explaining why.
“Received” must therefore mean received for checking, not approved for collection. A correctly formatted identifier does not prove that the requester chose the right item, or that it is available.
Leaving every check to the desk preserves judgement but makes people return avoidably incomplete requests. Checking every field immediately can help someone correct a definite mistake, but an overconfident rule can prevent a legitimate request from reaching anyone. A combined arrangement is preferable here: check basic usability before submission, then retain a human acceptance decision.
Early does not have to mean while someone is typing. GOV.UK’s validation guidance recommends waiting until the user tries to continue or submit, rather than interrupting unfinished entries. It also advises accepting unambiguous alternative formats. These are useful starting points, not proof that a particular form will work. GOV.UK: Recover from validation errors
A validation specification the desk can agree
Use this as the proposed local specification. An error blocks submission because essential information is missing or unusable. A warning allows submission but identifies something requiring attention. A permitted exception is an authorised alternative to a named rule, supported by evidence—not permission to ignore errors.
| Check | Classification and response | What happens next |
|---|---|---|
| Requester, contact route or destination missing | Error. Identify the missing field: “Enter where the equipment will be used.” | Requester supplies it before submission. These requirements cannot be waived. |
| Either date missing, impossible, or return before collection | Error. Identify the problem: “Enter a valid collection date” or “Return date must be on or after collection date.” | Requester corrects the dates. Short notice alone is not an error. |
| Identifier matches a current inventory record | Pass. Accept both six-digit identifiers such as 004217 and registered legacy identifiers such as L-00417. Show the item description. | Requester confirms the item; the desk still checks the booking. |
| Identifier missing, or not found | Missing is an error. An unrecognised identifier is a warning: “We could not match this identifier. Check it or add an equipment description for review.” | An unresolved identifier requires a description; its absence is an error. With it, submit for desk investigation. |
| Collection less than two working days away; or same requester and item with overlapping booking dates | Warning. Explain the concern and let the requester correct it or confirm that it is intentional. | Carry the warning into the desk’s queue; acknowledgement is not approval or a reservation. |
| A genuine item is absent from the live inventory | Permitted exception to the live-record requirement, not to establishing identity. | Equipment lead may approve after checking an archived inventory record and the physical label. Record the evidence and decision before confirming a booking. |
| Inventory lookup unavailable | Service problem, not an input error. Explain that verification is pending; do not report “not found”. | Accept the request into a visibly unverified queue; the desk verifies it before confirmation. |
Treat identifiers as text: retain leading zeros, letters and meaningful punctuation. Remove surrounding spaces only where that cannot change identity. Do not silently replace an identifier because a similar one exists.
The numeric-only rule should be corrected, not preserved behind a permanent override. L-00417 is exceptional relative to the newer numbering convention, but it is a normal valid answer once the inventory confirms it. During the repair, the desk can capture the request through an assisted route using the same checks and request record. It must not ask the requester to invent a number to get through.
For a web form, browser checks are assistance, not the sole safeguard. W3C explains that they can be bypassed or fail, so validation must also happen on the server. Both sets of checks must implement the agreed rules; neither replaces the desk’s decision. W3C WAI: Validating Input
Give every warning somewhere to go
Assign requests to the duty clerk on the desk rota, with a deputy during absence. They review new requests by the next working day. Uncertain identity goes to the equipment lead; scheduling questions stay with the desk.
If the projector identifier was a typing mistake, the clerk returns the request with the item description and a specific question. Its status becomes “needs requester correction”, while the clerk retains follow-up ownership. The requester edits the existing request, which returns to review rather than becoming a second booking. Keep a record of corrections and recheck changed details before confirmation.
For an inventory exception, the lead records the submitted identifier, confirmed identity, evidence, reason, name and date of approval. If identity cannot be established, the request stays unconfirmed. After five working days without the requested clarification, the clerk sends a closure notice explaining how to reopen it. These timings are proposed commitments for the team to agree, not measured performance.
Keep entered answers and provide specific error messages beside affected fields and in a linked summary, rather than forcing a restart. This follows the GOV.UK validation pattern; test the actual form with keyboard and assistive-technology users.
Keep only the rules that earn their place
Before release, test a normal request, missing essentials, leading zeros, L-00417, an impossible date, an unknown identifier with and without a description, an overlapping request and a lookup outage. Check the expected blocks, warnings and approval requirements, including with browser checks disabled.
Then run a proposed two-week trial. Compare correction cycles and desk handling time with the existing arrangement. Record verified legitimate requests blocked and warning outcomes, including abandoned attempts and assisted requests.
The operations lead should revise any rule shown to block a verified legitimate request, providing an assisted route meanwhile. Keep the combined arrangement if corrections fall without legitimate requests being excluded and the desk can meet its review commitment. Otherwise revise and retest. Keep the existing form and shared queue if they support that agreement; consider additional software only when recurring lookup or follow-up work warrants it. Inventory reliability, workload or frequent exceptions could change that decision.