Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Frontend
/
Form validation
Why must a server validate data that already passed browser constraint validation?
from Form validation
Node 24
beginner
1 min
Why must a server validate data that already passed browser constraint validation?
A client can modify the DOM or send a request without using the form.
Browser validation encrypts values, but the server must decrypt them.
The server is the only layer that can display an inline error.
HTML constraints stop working after the first successful submit.
Check
Ask AI about this kata
Report an error
previous kata
Review generated username form
Review AI code
next kata
Spot the bug in password confirmation
Spot the bug
A new version is available
Reload