How to Plan Website Form Error Messages That Help Users Finish Their Enquiry
Good form error messages tell a visitor what went wrong and how to fix it, right beside the form field that needs attention. When it works, the person corrects one entry and clicks send again. But when it fails, they close the tab, and your enquiry leaves with them.
That’s why error messages deserve a place in the design plan rather than a quick patch after launch. At Westport Osprey, we treat every contact form as a short conversation, and the errors are part of that script.
This guide covers when to design error states, how to word each message, and where website form validation should show errors. You’ll also see what accessible form errors need so screen reader and keyboard users can finish the form too. Everything starts in the design file, so that’s where we’ll begin.
Designing the Error State Alongside the Form, Not After Launch

Many teams design the happy path first: empty form fields, a filled form, then a thank-you page. Errors get left to the browser’s default, so visitors read text like “Please fill out this field” in a font that matches nothing else on the page.
That browser default costs you more than a mismatched font, because it never tells the visitor which rule their entry broke. Without that clue, a visitor stuck on a rejected phone number has two choices, and only one of them sends you the enquiry.
If you’ve ever retyped the same number three times to please a form, you know how fast patience runs out. Designing the error state next to the empty and filled states lets you catch these gaps in a prototype, where a fix costs a text edit rather than a code release. That’s why our website design and copywriting services plan the copy for each error state alongside the layout itself.
Before the form goes to build, map an error state for each of these:
- Required fields left empty
- Email addresses missing the @ or the domain
- Phone numbers typed in an unexpected format
- Messages that run past a character limit
- Server failures after form submission
Give each validation error a written message and a visual state in your design file. Hand those files to your developer, and they build exactly what you planned instead of guessing at the wording. Leave even one blank, and the browser default fills the gap.
Writing the Message: What Good Form Error Message UX Says and What It Leaves Out
A good error message answers two questions in the visitor’s head: what’s wrong, and what should I do now? Everything else in the message competes for attention the person would rather spend finishing the form.
Let’s discuss five writing habits that keep each message short enough to read at a glance.
Name the Field and the Problem in One Short Sentence
Start with the field’s name, then state the problem in plain words. “Enter your email address” beats “Invalid input” because the visitor knows exactly where to look. The vague version makes them check every box on the form to find the one that failed.
You’ve probably met a form that just shows “Error” with no clue which field caused it. So you scroll up and down, checking each entry for the one that broke a rule. That vagueness hurts most on long web forms, where several fields can turn red at once (and small mobile screens often hide half of them).
So, what’s the best course of action? Read each message aloud without its label. If it still makes sense, it’s specific enough to ship. Try that test on a lone “Required,” and it fails straight away, since nobody can tell which box it means.
Tell the Visitor How to Fix It, With an Example
The VA Design System guidance puts it simply: “After you explain the error, tell the person how to fix it.” Pairing a fix with each error makes a dead end become a clear next step.
For a phone field, show an example such as 555 123 4567. It shows the expected format at a glance. Seeing it removes the guesswork a rule description leaves behind, such as whether spaces or brackets count.
That’s why every field with a format rule, such as dates, ZIP codes, and phone numbers, needs an example. A date field, for instance, can show like “03/15/2027” so nobody types the day first. Fields without a format rule, like a first name, only need the fix.
Drop the Blame, the Jargon, and the Error Codes
Words like “invalid”, “illegal,” or “you failed to” make the visitor feel accused of breaking something. Jargon lands just as badly, since codes such as “ERR_422” mean nothing to a person sending an enquiry. Either way, the visitor stops fixing the field and starts wondering what they did wrong.
So rather than naming the fault, describe the input you need. “Enter a date after today” works where “Invalid date value” doesn’t, because it points to an answer the visitor can type straight away.
Before launch, search your validation code for the word “invalid”. Each hit marks a message worth rewriting, so one search shows you every message that still blames the visitor.
Write in the Same Voice as the Rest of Your Product
Your error copy should sound like the rest of your site. Robotic error text after a friendly landing page feels like a different company took over the form. That sudden change in tone breaks the conversation right when the visitor needs reassurance.
In practice, a relaxed brand can say “Looks like the email’s missing an @” while a law firm stays formal. Both approaches work, as long as each one matches the surrounding content.
To keep that match steady, add error message examples to your brand voice guide (right next to your button labels and heading rules). Writers and developers then pull from one source, so no message ships in a stray tone.
Save “Something Went Wrong” for Server Failures Only
On its own, “Something went wrong” gives the visitor nothing to fix. That’s why it belongs only to moments when your server fails, and the visitor did nothing wrong (a timeout or a full inbox, for example).
Even then, the message should say what happens next. “Your message didn’t send, so please try again or email us” keeps the enquiry alive, because the visitor still has a clear way to reach you.
Just as important, check that the form keeps the typed text after a failed send. Anyone who has to retype a long message has every reason to give up and leave.

Where Should Website Form Validation Show Errors and When Should They Appear?
Clear wording still fails if the message shows up in the wrong spot or at the wrong moment. Website form validation works best when the message sits directly under the field and appears once the visitor has finished typing, rather than in real time with every keystroke.
Although inline messages fix this timing problem, plenty of sites still skip them. In its e-commerce UX benchmark, Baymard’s inline validation research found 31% of sites fail to provide inline validation.
To avoid that gap, match each error type to its placement and timing using this table.
| Error type | Where to show it | When it appears | What it prevents |
|---|---|---|---|
| Empty required field | Under the field | When the visitor clicks send | Flagging fields the visitor hasn’t reached yet |
| Wrong format (email, phone) | Under the field | When the visitor leaves the field | Finding the typo only after clicking send |
| Several errors at once | Summary at the top, linked to each field | When the visitor clicks send | Scrolling the page to hunt for red outlines |
| Server failure | Above the send button | After the send fails | Assuming the message went through |
Of all the rows, the format row does the most for contact form usability, since a mistyped email address means your reply never reaches the person who wrote in. Watching a few people try your form during user testing shows where they stall before it goes live.
Accessible Form Errors Reach the Users a Red Outline Leaves Behind
Placement and timing only help the visitors who can see the screen clearly. For everyone else, a red outline alone falls short: it tells a screen reader user nothing, and color-blind visitors may miss it entirely. To reach those visitors too, build these fixes into your form component from the start:
- Text Plus Color: Pair every red border with a written message and an icon. Color-blind visitors read the words even when the red looks gray. Check your error state in grayscale before handoff.
- Programmatic Field Links: In HTML, connect each message to its input field with aria-describedby so screen readers announce it on focus. Without that link, the message sits on the page unheard. Ask your developer to confirm it in the component code.
- Focus on the Summary: After someone submits with errors, move keyboard focus to the error summary at the top. From there, each linked item jumps straight to its field. Test the whole flow using only the Tab and Enter keys.
These checks belong in your accessibility testing before launch, since adding them later means reopening the component. Running a quick pass with VoiceOver or TalkBack on your phone catches the obvious misses in one sitting.

Plan the Errors First and Watch More Enquiries Reach the Inbox
Planned form error message UX keeps a visitor moving when a field goes red, and that’s how more half-filled forms end up as enquiries in your inbox. The work belongs in the design stage, when a better message costs one line of copy.
Open your contact form today and submit it empty, then again with a broken email address. Rewrite every message that fails to name the field or the fix.
Ready to fix the forms on your site? Talk to Westport Osprey about website design and copy that helps visitors finish what they started.





































