210 likes | 965 Views
Forms are an integral part of an application. They are used for login purposes, verification and other data entry related tasks.<br>This video on Angular Forms helps you understand the working of the same. The following are the topics covered:<br>1. What are Angular Forms<br>2. Types of Angular Form building<br>3. Form control and Form groupsAbout Simplilearn Angular training course:<br>This Angular Certification Training Course will help you master front-end web development with Angular. Gain in-depth knowledge of concepts like facilitating the development of single-page web applications, dependency injection, typescript, components, and directives with this Angular Course.<br><br>Simplilearnu2019s Angular certification course helps you understand the design of single-page applications and how Angular facilities their development. This Angular certification provides knowledge of concepts such as TypeScript, Bootstrap Grid System, dependency injections, SPA, forms, pipes, promises, observables, and Angular class testing.<br><br>Angular Course Key Features<br>1. 100% Money Back Guarantee<br>2. 50 hours of blended learning<br>3. Three industry-based projects and 12 quizzes<br>4. Free introductory JavaScript course<br>5. Flexibility to choose classes<br><br>ud83dudc49Learn more at: https://bit.ly/2Druybm<br>All of these are explained with the help of a simple demo.<br><br>
E N D
What’s in It for You? Types of Form Building Introduction to Angular Forms Form Control and Grouping Demo
x Click here to watch the video
Angular Forms • Forms are an integral part of a web application • Forms are used to log in, to update a profile, to enter sensitive information, and to perform many other data-entry tasks
Angular Forms Template-Driven Reactive Forms Components manage the data-flow Directives Module classes Code-driven JSON values Validation No two-way data binding Synchronous creation
Form Control Name Age Form Control • Form Control is a class that enables validation • For each input field an instance of this class is created • These instances help check the values of the field and see if they are touched, untouched and dirty Location
Form Control Name Age Form Control • Form Control is a class that enables validation • For each input field an instance of this class is created • These instances help check the values of the field and see if they are touched, untouched and dirty Location
Grouping Controls Name Age Form Group • FormGroup class represents a group of controls • A form can have multiple control groups • The Form Group class returns True if all the controls are valid • It also provides all the validation errors Location
Use Case: • To create an Angular Forms • Add controls to the form fields • Create the JavaScript Representation • Validate the form