Explain client and server side validation.
Ask by Shrikant Mishra
Updated 18 Sep 2020
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.