DEV Community

Discussion on: Input Validation: Client-side or Server-side?

Collapse
 
vtrpldn profile image
Vitor Paladini

But really, ideally I'd do both always, but client-side validation and proper input escaping goes a long way IF the backend runs on a closed API.

I never skip client-side validation because I hate when I don't know what type of data the server expects, it is just bad UX.