Write form error messages people understand
Template that rewrites form error messages with problem, fix and placement instead of codes. Paste it into an AI tool of your choice, which then rewrites the error messages.
- Topic
- Apps & prototypes
- Type
- Template
- Level
- Beginner
- Time
- about 10 min
Results depend on the tool, the model and what you enter.
Result preview
Example: written by our editors, not real AI output.
| Situation | Old | New | Place | | Postcode too short | Invalid input | Postcode needs 5 digits, for example 10115. | at the field | | Card declined | Error 402 | The card was not accepted. Try another card or pay by invoice. | above the button | Keep after an error: all fields except the card number
Fill in
What you type stays in this browser window. We store and send nothing.
- sign-up
- checkout with payment
- contact form
- booking form
- settings page
- list of the current messages
- screenshots
- code with the validation rules
- support tickets about errors
- nothing yet, new form
- private customers
- business customers
- older people
- people on mobile phones
- internal staff
Your prompt
You have edited the prompt. Changes in the fields above no longer overwrite it.
This is an instruction for an AI, not the result itself.
Where this prompt works
These AI tools are a good fit for this prompt:
How to use it
- Fill in the fields or tap a suggestion. Leave out names, addresses and other personal data.
- Copy the finished prompt into an AI tool of your choice.
- Show the new messages to someone without context and ask what they would do next. If they cannot say, the fix is missing from the message.
Why does this work?
Many forms are abandoned at the first error, because messages like "invalid input" give no way forward. Short messages with a fix, placed next to the field, save support requests and lost sign-ups.
Tips
- Do not reveal in messages whether an email address is already registered if that could expose people; use a neutral wording.