In this video...
You will learn about validation in general, and how to apply validation rules to controls.
There are two basic purposes for validation:
- Communicate validation status to the user.
- Prevent incorrect data from being persisted.
We will look at each of these pieces in future videos.
When adding validation to forms, there are three built-in validation attributes that you can use:
These three attributes allow you to create validation rules that your user must match before the form will be considered valid.