Type an incomplete email, then click outside the field.
Feedback
Inline validation
Right beside the problem field, saying what is wrong and how to fix it.
When to use it
- Fields with a required format, such as email and password
- People should learn about problems before they send
When not to
- Showing errors while the person is still typing: check when they leave the field
- Saying only "invalid" without saying how to fix it
What to tell an AI tool
Check a field when the user leaves it, show the error as an icon and text directly below the field, and say how to fix it.