Explain client and server side validation.

Last updated:9/18/2020 10:22:51 PM

1 Answers

Shrikant Mishra
Shrikant Mishra

The Javascript is used for the client-side validation. It takes place within the browser. Javascript is used to submit the form data if validation is successful. Validation errors require no extra network trip because the form cannot be submitted.

And Validation is also carried out in the server after submission. If validation fails, an extra network trip is required to resend the form to the client.