CYBERDZYNES Independent digital design magazine

Web & UI / Field notes

Design input errors that survive a retry

Keep previous work, anchor errors to their fields, and distinguish an invalid value from an unsuccessful request.

The rejection belongs to the submitted party size, while the edited value awaits its own availability check.

The second submission is where a form reveals whether its error design works. A first attempt can produce a polished red message. On retry, that message may vanish while the problem persists, the form may forget all the other fields, or a slow response may put a warning beside a value the reader already changed. Design the whole correction, not just the first error.

Point to the value that needs attention

Imagine a workshop booking form with a contact email, party size and selected session. The reader submits a party of five for a session with four places left. Keep their email, session and party size on screen. Put 'This session has 4 places left. Enter 4 or fewer, or choose another session' beside Party size. The entered five is useful context; silently replacing it with four is an unasked-for booking decision.

If several fields need work, put a brief summary above the form with links to the affected fields and keep the detail beside each field. Associate the inline message with its input so the feedback is available when the reader focuses the field. The W3C forms tutorial shows ways to combine overall and inline feedback.

Give an error a clear lifetime

Leave the party-size error in place when the reader edits their email or retries with the same five places. Once party size or session changes, the old response no longer describes the current choice. If availability requires another server check, use neutral text like 'Availability will be checked when you submit' instead of a green checkmark. Judge each response against the values sent with it; a late rejection for five should not mark the reader's newer value of three as invalid.

Separate a failed request from a bad value

If the server confirms no booking was made and a retry is appropriate, say so and keep the form ready. A timeout can be different: the request might have reached the server even though the browser never saw the answer. 'We couldn't confirm your booking' is more honest than 'Booking failed'. Give the reader a way to check status, or design a retry that refers to the same booking attempt so it cannot create a second reservation. A request-level notice should not turn valid fields red.

Rehearse the awkward second attempt

Submit five, correct another field, and submit five again. The party-size message should still be readable beside the original value. Now enter three and simulate a slow response followed by a failed request. Check that the reader can tell which values are still editable, whether anything was saved, and what to do next. On a phone, scroll away before retrying: a field correction needs a route back to the field, not a notice that disappears at the other end of the page.

Separate the reasons a field cannot be accepted

Imagine a fictional print co-operative taking orders for posters. The quantity field can contain a word rather than a number, a valid number below the minimum for the selected service, or a number the service accepts for a paper that is temporarily unavailable. All three can stop an order, but they suggest different work. 'Enter a whole number of posters', 'This service starts at 10 posters' and 'This paper is unavailable for the selected date' each point to a different correction. 'Check your quantity' would send the third reader back to a number that doesn't explain the problem.

Work through which fields each condition depends on. The format of a quantity does not change when the reader picks a paper. The service minimum might depend on the print method, and availability might depend on both paper and date. Put the message where the reader can make an informed change. For a conflict with two legitimate fixes, explain both instead of implying one field is broken. 'Choose a later collection date or select another paper' leaves the trade-off with the reader. A priority order is still useful when format and business rules both fail; the reader needs a meaningful value before the service can check that value.

Write an example for each kind of error, then change a field the error does not depend on. Notice which message should remain and which would now describe a different request. Try an example where the recommended fix creates a new combination: choosing a later date may open availability but miss the deadline. A correction that accepts the input is not always a correction that serves the person. Phrase errors to tell them what the service can accept, while leaving room for them to decide whether the alternative meets their needs.

Retain an invalid value without endorsing it

Consider a fictional equipment loan form with separate fields for collection and return. Someone requests collection on Thursday evening and return on Thursday morning. If the interface jumps the return date to Friday without asking, it may hide the error and commit the borrower to an impossible arrangement. Retain both requested values and explain the order requirement where the reader can correct it. You can propose a date that satisfies the relationship, but make changing the draft a deliberate action and show the result before submitting. A useful default for a new form is not necessarily useful as a hidden repair to an existing one.

Sometimes the value the service checks is different from what the reader typed. In the poster form, pasted quantity might contain leading spaces, or the reader might enter an amount with a separator the form doesn't recognise. Choose which harmless presentation differences to accept and which would be ambiguous. If you display a cleaned version after a submission, check that it keeps the same meaning and doesn't make a rejected value appear to have been accepted. In an ambiguous case, show an acceptable example rather than silently choosing an interpretation with a different financial or practical consequence.

Include lost data in the error design. If a fictional request includes a supporting image, the form might not be able to restore that file after a new session. Explain what is still present and which file must be selected again; a general instruction to review the whole form wastes effort. Treat retention as a deliberate product choice rather than a promise to store every input indefinitely. A draft that survives an immediate retry and a draft recovered tomorrow are different expectations. Test the recovery the form actually supports and make any limits clear before the reader relies on it.

Tie the response to the submitted combination

Picture the poster customer submitting twelve prints on uncoated paper for Friday. While that request is pending, they change to coated paper, then edit the quantity to twenty. The first response says Friday is unavailable. The relevant values are the ones that went out with the first request, not the ones currently visible. Plan for at least two cases: the service has rejected that earlier combination, or it has accepted it. A stale rejection should not be attached to the new choice. A successful order should not be hidden simply because the reader has begun drafting another choice.

Decide whether editing remains possible during submission. A short pause that keeps the submitted values legible may work for a quick, consequential operation, but consider what someone can do during a longer wait. If edits remain possible, separate the request from the draft in both the product logic and the copy. 'Checking Friday collection for your 12 uncoated posters' names the pending work. If the new draft is different, don't use that line as its status. A genuinely successful first submission needs a clear confirmation that identifies what was ordered, including the values a reader may since have changed.

Put this in a review script as a sequence, not a snapshot. Send one set of values, edit a dependent field and arrange for the earlier answer to arrive later. Verify the feedback beside the edited field and the status of the original attempt separately. If the first response rejects a field that has not changed, check its dependencies too. The length of a poster might still be invalid even after changing the collection date; a pricing restriction tied to the old service might not be. Use the smallest dependency that makes the feedback true.

Distinguish retry, check status and start again

Suppose the fictional equipment form submits a loan request, but the device loses its connection before a reply appears. The borrower has three possible errands. They can look for an existing request, send the same attempt again if the system supports doing so safely, or abandon it and prepare a different request once its status is known. A single 'Try again' button makes those errands look interchangeable. If the request may already exist, give checking status priority. A list of requests or a reference the service can look up may make more sense than telling the borrower to submit unchanged input from scratch.

Copy should reflect the branch the system can establish. 'Your request was not sent' is appropriate only when that is known. 'We haven't received confirmation' describes a different and less certain outcome. If an earlier request is located, confirm its contents and provide the next relevant action, such as viewing it or contacting the co-operative to correct it. If the product cannot reliably recover the attempt, say what the reader can check and which details to keep. Don't imply that a missing receipt proves the request never arrived or that a fresh submission is the prescribed fix.

Write down what the main button does on the first press, on a rapid repeat press and after a connection failure. A disabled button while sending can discourage accidental repeats, but cannot by itself explain what happened across an interruption. Agree with the service owner on how to recognise the same attempt and what to show when the answer is uncertain. Aim for a reader who can say 'I submitted this request and need to check it' rather than one who presses repeatedly to make a warning disappear. Review the destination of any status link with a request that is still pending, not just with a completed example.

Help the reader resume the correction

In a long fictional order form, a summary near the title lists a missing email and a collection date conflict. The reader jumps to email, makes the correction and tries again from the footer. A useful summary now identifies the remaining conflict rather than announcing that the previous form contained two errors. Keep the message near its field too. Someone who navigated straight to the date should not have to scroll to the top to find out whether a correction was accepted. Avoid adding a new layer of alerts each time; replace feedback that refers to the same check.

Pay particular attention to messages disclosed inside optional panels. A print order might have a separate section for delivery instructions. If entering an address made a postcode necessary, submitting with the panel collapsed still needs a route to the exact input. A summary link can reveal the relevant panel and take the reader to the field. When the reader changes to collection, the delivery requirement should not continue blocking them invisibly. Decide whether to preserve the delivery draft for switching back, and whether a preserved but inactive field should be shown anywhere in the final review.

Review the order in which people encounter feedback. After a rejected submission they need notice of the failure and a path to the issue. During editing, don't make an interruption out of every keystroke. After another submission, check that the outcome describes the latest attempt. Try the correction by keyboard and with enlarged text on a narrow screen; a fixed footer may cover the input the summary leads to. If following the link requires guessing which newly opened panel contains the error, improve the destination rather than adding more emphasis to the summary.

Give QA an awkward but bounded rehearsal

Prepare controlled situations rather than hoping a live form fails on cue. In a test setup, start with a quantity the print service will reject, a paper it will accept and a complete contact address. Submit the rejected quantity, correct the contact address and retry without changing quantity. Then change the print method so the quantity rule may be different. Record which values stay, what feedback is still true and what awaits a new check. A form that passes only when every field is corrected in one go has not demonstrated that its second attempt works.

Next rehearse an uncertain submission without issuing a real order. Arrange one test where the service never receives the request and one where it accepts the request but the expected reply isn't returned. Follow the recovery actions in each case. The same browser warning may precede different outcomes, so judge the interface against what it can establish, and check that a recovery action won't produce an additional order. Include a verified success after a retry and inspect the confirmation itself. A missing error message does not tell the reader which draft became the final order.

Give each failure a short record that someone else can reproduce: which values were sent, which were visible on return, what the service established and where correction led. This helps distinguish a mismatch in displayed feedback from an error in validation or an uncertain request. Retest the original sequence after the repair instead of substituting a clean first submission. Once the reader can tell what happened and act without re-entering unaffected work, the styling can support a process that already makes sense.

References