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:

  1. Communicate validation status to the user.
  2. 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:

  • required
  • minlength
  • maxlength

These three attributes allow you to create validation rules that your user must match before the form will be considered valid.


I finished! On to the next chapter