Asp code validating a form
The server side validation routine must be called from the control's Server Validate event handler. The basic syntax for the control is as given: The Validation Summary control does not perform any validation but shows a summary of all errors in the page.
In such situation, a need might arise for performing validation separately for separate group.Let's give it a try, and add a Required Field Validator to our page.We will also add a Text Box to validate, as well as a button to submit the form with.A database (and therefore an ASP data-driven site) is only as good as the data within it.For example, if you collect information from your users (like an e Commerce site, let's say), and your users enter incorrect or malformatted data (such as an incorrect email address or an invalid zip code), the data is as good as garbage.
Search for asp code validating a form:
For that reason, it is important that you verify that the data entered from your users is, at minimum, in the correct format.