Angular Forms
This course will cover the fundamentals of working with forms in Angular 2. You'll learn how to create forms, style them, and use data binding and validation. You'll be able to post a form to a server, and work with third-party form controls.
What you'll learn
Forms are a vital part of web applications, since they're the primary way you collect data from your users. You want your forms to look good and offer a simple, smooth experience. In this course, Angular Forms, you'll learn how to create forms using the Angular 2 framework. First, you'll learn how to style them, use data binding and then validate your forms. Next, you'll learn about observable's and posting your forms to a server. Finally, you'll also explore third-party form controls which offer much more functionality than standard HTML. By the end of this course you'll be able to build great looking forms that offer your users a simple way to input any data.
Table of contents
- Introduction 2m
- CSS Classes for Validation 2m
- CSS Validation Classes in Action 3m
- ngModel Validation Properties 3m
- Showing Error Messages 4m
- Styling Controls for Errors 3m
- HTML 5 Attributes for Validation 3m
- Validating a Select Control 6m
- More on Select Control Validation 3m
- Form Level Validation 2m
- Disabling the Submit Button 1m
- Summary 2m
- Introduction 3m
- Creating a Test Node Server 4m
- Creating an Angular Service to Post a Form 3m
- Handling a Form's Submit Event 3m
- Validating the Form Before a Post 2m
- Setting up an Observable and a Subscriber 6m
- Posting to the Server 3m
- Handling a Server Error 2m
- Retrieving an ID From the Server 2m
- Loading Data from a Server 4m
- Dynamic Options for a Select Control 5m
- Summary 1m