The alternative to processing data validation on the user's computer is to process it on the Web server.The opposite pros and cons that applied to processing data validation on the user's computer apply to processing data validation on the Web server.He is a Microsoft Certified Application Developer (MCAD), Microsoft Certified Solution Developer (MCSD) and a Microsoft Certified Trainer (MCT) who has been developing Microsoft Windows and Web-based solutions as well as training for over 12 years. Shannon lives in Glendale, AZ, and is married with two daughters and a son. Validating the information entered by users is an essential part of developing a professional Web-based user interface.He has been a featured speaker at many industry events including Microsoft Dev Days and the ASP. Shannon speaks and trains for companies such as App Dev ( and Learn It ( and has been a featured speaker in training videos with Learn Key. Data validation over the Web is performed in one of two locations: on the user's computer, or on the Web server.Since only Microsoft Internet Explorer supports VBScript, you'll probably choose Java Script as your primary scripting language to use on a user's computer.In addition, malicious users can subvert the validation process.In this example, the button click event is handled on the client.The event handler forces the parsing of the required form using the $.validator.unobtrusive.parse() method that enables client-side validation.
Call the $.validator.unobtrusive.parse(selector) method to force parsing.
The unobtrusive client validation script parses loaded DOM searching for forms with input fields that are decorated with validation attributes.
The parsing is only done after the initial page load, so the forms that were loaded via callbacks after the page load, are not parsed.
They all work in different ways, but essentially they do the same - they make sure that a form field has been properly filled by the user.
Shannon Horn is the co-founder and chief software architect of Web Geniuses Corporation ( Hence, many times validation was not performed in a uniform manner, complex validation was difficult to implement, and Web servers were vulnerable to validation scripts being modified by malicious users.
For that reason, clientside scripting has been used in many cases, but as you probably know, clientside scripting is not bulletproof - it can easily be bypassed or simply turned off. NET, webdevelopers were finally given a good, standard set of tools for validating forms. NET is based on both clientside and serverside technology, which brings the best from both worlds, to make sure that validating a form is as easy as ever. NET 2.0, which is the latest version as I write this, comes with several different validation controls for different purposes.