GitHub topics: templateform
Maninderkalra/FormValidationOnSubmit
This is a quick example of how to setup form validation on submit button in Angular 9 using Template and Reactive Forms. The example is a simple form with pretty standard fields for name, email, password. All fields are required, the email address must be in a valid format and min length of the password. I've setup the form to validate on submit disable, as soon as each field is changed, this is implemented with a disable and valid property in the html form. Styling of the example is all done with Bootstrap 4.4 CSS, for more info about Bootstrap see bootstrap site.
Language: TypeScript - Size: 3.6 MB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0
