Chapter 6
User Interactions
Section 3
Building a Form
Forms are one of the most common type of interaction with users. They can be tedious to build and validate, though. We will use the FormBuilder service to create a form focused on its inputs and leverage the validation framework to display error messages when needed. - Build a form using form builder - Create the corresponding bindings in the template: ngFormModel, ngControl - Validate the form easily using various Booleans on controls: valid, invalid, pristine, untouched, and so on