4

Building Forms Like a Pro

Forms are at the core of many frontend applications. They allow you to collect user input to save and act upon data provided by your application users. Building forms is one of the aspects where Angular excels. Angular provides two different approaches for building forms, both with tools to validate individual form fields as well as the validity of the entire form.

In this chapter, you will learn how to create Angular template-driven and reactive forms, synchronize your form fields with your application state, validate forms and individual form fields, and learn about advanced concepts such as dynamic form creation. By the end of this chapter, you will be able to create forms like a pro!

This chapter will cover the ...

Get Effective Angular now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.