Form Validation
If you’ve ever really dealt with form validation in a serious manner, where a user’s input must be validated to the nth degree, you know that it can be a very daunting task. In critical situations, it was generally necessary to use round trips to the server in conjunction with client-side JavaScript as a preliminary check. In these situations, you needed to perform server-side validation because you couldn’t guarantee that an individual had a JavaScript-enabled browser. Even users who did have capable browser possibly could disable the JavaScript functionality.
But you would generally develop both strategies to save from making trips to the server if you could prevent them through client-side JavaScript. If you had many form ...
Get ASP.NET for Web Designers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.