Show the error for the answer that is still on the form
An error message can be accurate for an earlier answer and wrong for the answer currently visible. This can happen when a form checks a field asynchronously and the responses return in a different order from the requests.
For the person completing the enquiry, the result is baffling: they correct the field, briefly see a valid result and then see the old error return. Clearing the whole form would make the experience worse and would not resolve the underlying association between a check and its answer.
Follow the two checks
In a fictional supplier enquiry, the customer enters an incomplete product reference. Check V-1 starts. Before it finishes, the customer selects the correct reference R-20, which starts check V-2. V-2 returns first and recognises R-20. V-1 returns later and reports that the earlier incomplete reference was not found.
The form's old implementation applies whichever response arrives last. It therefore displays “Product reference not found” beside R-20, even though V-1 never checked R-20. The customer's message and contact details are still present; the defect is the obsolete feedback attached to the current value.
| Event | Value checked | Response | What the old form does |
|---|---|---|---|
| V-1 begins | Incomplete reference | Still pending | Shows checking state |
| V-2 begins | R-20 | Recognised | Shows current reference as recognised |
| V-1 finishes later | Earlier incomplete reference | Not found | Incorrectly replaces V-2's current result |
The inspection uses controlled responses and their associated values. A screenshot of the final error alone would not establish this sequence.
Associate feedback with the current check
The correction records which request and value a result belongs to. A response may update the field's feedback only if it still corresponds to the current check. Obsolete responses are ignored for that display. Cancelling an earlier request can be useful where supported, but the form still needs a reliable way to reject a stale result that arrives.
The fictional retest repeats both significant orders. An old error arriving after a new success cannot invalidate the current recognised reference. An old success arriving after a new error cannot make the current invalid reference appear valid. The customer message, contact details and other unrelated answers remain intact throughout.
If the current check itself fails because the service is unavailable, the form describes that uncertainty rather than claiming the reference is invalid. The organisation decides whether the enquiry can continue for manual clarification or must wait for a successful check.
Do not confuse field feedback with receipt
Recognition of a reference does not mean that the enquiry has been submitted, stored or commercially accepted. The final receiving system must perform its own authoritative validation. A value may change status between a field check and submission, and the response to that event needs a separate explanation.
If final submission fails, keep the information the person needs to correct or recover the enquiry. If receipt is uncertain, do not encourage blind repetition of a potentially consequential action. Establish what the receiving system can confirm and provide an appropriate alternative contact route.
W3C's Error Identification explanation supports identifying automatically detected input errors and describing them in text. The feedback also needs to concern the actual current input; a well-written error attached to an obsolete value still misleads the person.
Include the sequence in the review brief
Ask a reviewer to change the checked field before the earlier result returns. Record both response orders and an unavailable check. Verify the visible explanation, the retained answers and the submitted value through an isolated receiving arrangement.
This is a specific usability and implementation task, not a reason to add elaborate validation to every field. Use asynchronous checks only where they answer a useful question, and keep the person's enquiry understandable while that question is unresolved.
