Skip to content
Inspireca Design

Content

Rewrite form error messages

Turns vague or technical validation errors into short messages that say what is wrong and how to fix it.

Written by Inspireca Design (drafted with AI assistance)Updated Not yet reviewed by an editor

The prompt

Replace everything in [SQUARE BRACKETS] before you use it.

Rewrite the error messages for this form in [PRODUCT NAME].

Fields and their rules:
[FIELD NAME]: [RULE, e.g. required, valid email format]
[FIELD NAME]: [RULE, e.g. at least 8 characters]
[ADD MORE]

Current messages, if any: [PASTE THEM]

For each rule write one message that:
- says what is wrong in plain words and how to fix it, in one sentence of at most 15 words;
- names the field if the message could appear away from it;
- gives the rule itself ("Use at least 8 characters") instead of the word "invalid";
- does not blame ("You entered..."), does not apologise repeatedly, and uses no error codes.

Also write: the helper text to show under each field BEFORE any error, so that fewer errors happen; and one message for a failure that is not the person's fault (for example the connection dropped), saying what to do.

Return a table: field, rule, helper text, error message.

How to adapt it

Replace the fields and rules with your real ones, and paste your current messages so the tone of the rest of the product is kept.

Add any wording that security rules require. For sign-in failures it is normal to say that the email or password is wrong without saying which.

Check the result for: messages that still make sense when read aloud by a screen reader; no message that depends on colour to be understood; and helper text that states the rule up front. In the library, the Headspace sign-up form puts "8+ characters" inside the password field before anything is typed.