DEV Community

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

Collapse
 
leondsouza profile image
Leon D'souza

Use both. The client side validations for a normal person so that it provides faster response time. The server side validations for tricksters and for complex business validations that are too heavy for client side.