This article discusses how to validate information you get from users — that is, to make sure that users enter valid information in HTML forms in an ASP. What you'll learn: If you ask users to enter information in a page — for example, into a form — it's important to make sure that the values that they enter are valid.
For example, you don't want to process a form that's missing critical information.
Please register to participate in our discussions with 2 million other members - it's free and quick!
Some forums can only be seen by registered members.
When users enter values into an HTML form, the values that they enter are strings.
In many cases, the values you need are some other data types, like integers or dates.
If a user enters a non-integer value, the error is reported as soon as the user leaves the entry field.