Hi, Severside Validation means validating the user entered fields after we submitting the request to the server. Server will check the fields for validity from the request and send appropriate message thru the response. Here one request-response cycle is happening.
On the other hand Client side validation does not involve any request submission to the server. Before submission itself validation done thru the script normally Java Script. Here the advantage is that request is not submitted and we save network traffic.
Here the advantage is that request is not submitted and we save network traffic.
But it is important to note that eventually the request will be submitted and then, regardless of whether client-side validation was used or not, the values must be subjected to server-side validation.
Originally posted by Adeel Ansari: Client-side validation:
- faster, but not reliable - You can have it