Learn how to implement form validation using Angular. This course shows you how to create forms using controls and how to implement two-way data binding, built-in validations, and custom validations.
- [Voiceover] I'm Justin Schwartzenberger, and I'm looking forward to kicking off a series on how to build a real-world Angular application, starting with this course, in which I'll teach you all you need to know to build forms with Angular. We'll focus on Angular's model-driven forms approach, and you'll learn how to build out a model representation of your form data in code. Then I'll teach you how to utilize that model in markup, binding to all the different HTML form elements available. We'll follow that up with a dive into change detection, and how to provide feedback to the user as the state of the form changes.
And finally, we'll wrap things up with an in-depth look at how to do both field and form validation. I'm looking forward to teaching you how Angular makes working with form easy and repeatable. So let's get started.
- Building an Angular form
- Creating a model-driven form
- Using the three fundamental form building blocks: Controls, groups, and arrays
- Handling different input types: Text, checkboxes, selections, and radio input
- Adding change detection to your forms
- Creating custom validations