/forms-and-validations-in-ionic

Use this Ionic example app to learn how to handle Forms and Validations in Ionic 3 and Angular 4. In this fantastic tutorial we will cover simple and custom validations and also teach you how to deal with error messages.

Primary LanguageTypeScript

Please support this project by simply putting a Github star ⭐. Share this library with friends on Twitter and everywhere else you can. 🙏

This repo is part of a tutorial where you will learn everything about Ionic forms and input validations in Ionic apps.

We will discuss the best practices for designing user-friendly forms with ionic. Then we will go through the differences between Angular template driven and reactive forms.

For this ionic tutorial we created a mobile app example with lots of forms and validations to help you master data collection using angular reactive forms and also some techniques to excel the user experience.

We will explain you the core concepts of: FormControl, FormGroup, FormBuilder and Validators and show you examples so you can learn to use them properly.

We want this to be the best ionic forms tutorial, so we created advanced custom validators to show you how to validate passwords, phone numbers and unique usernames.

Learn more in https://ionicthemes.com/tutorials/about/forms-and-validation-in-ionic