In this video...
You will learn how to deal with validation issues and handle various situations in the code of your component.
Communicating validation issues to the user are important, but we still want to make sure that we don't persist incomplete or incorrect data. So knowing whether a form is valid or invalid in our code can be important to allow us to take certain actions based on the condition of the data the user has entered.
Generally we do this by including our form in event handlers so that we can query the form to determine if it's valid or not.