The form lost its response. What should the user do next?

Design the web application for an interrupted submission by preserving the draft and giving the user a clear way to verify or retry it.

A translucent purple form slot with two signal pulses returning to it

A person submits a form on a slow connection. The spinner stops with an error. A moment later, a confirmation email arrives. The server may have accepted the submission while the response was lost. Design the interface for that possibility before adding a simple Try again button.

Give the submission a state

For an illustrative booking request, keep the text the person entered, assign the attempt an identity and show whether the result is confirmed, failed or still unknown to the interface. A local draft can keep the person from retyping. A reliable status lookup, when the service actually supports one, can help establish what happened.

The HTTP semantics specification describes idempotent methods and the conditions around retrying requests. An application can design its own deduplication rule for a specific write, typically by recognizing a stable request identity within a defined scope. For this booking example, the same attempt and the same details should return the already-recorded result if there is one. If the person changes the date or time, the interface first checks the old result and then offers an edit or a fresh request. That behaviour belongs to the booking service’s contract.

Run the awkward example

In a test environment, arrange for the service to receive the form while the client loses its response. Open the same draft. What text is available? Can a person tell whether the request went through? Repeat with a failure before the server receives anything. These two failures may look the same to the person using the page and still require different outcomes.

If you cannot determine the original result, say so and offer the appropriate support or status route. A useful message can read “We could not confirm the booking. Your draft is saved on this device.” The next button should then describe what the application can really do.

Keep the test, support wording and server behaviour together. When someone changes the form next month, they should know which failure it was designed to survive.