Form Validation in AngularJs

in #utopian-io6 years ago (edited)

angular-js.png

What Will I Learn?

  • You will learnWhat is ng-valid
  • You will learn What is ng-invalid
  • You will learn What is ng-pristine
  • You will learn What is ng-class
  • You will learn What is ng-minlength and ng-maxlength

Requirements

  • ATOM EDITOR

Difficulty

  • Intermediate

Description

In this video we'll be lookin at the ways that Angular helps us do form validations
How will our example
-Name is required
-Username is not required and minimum length 3, maximum length 8
-Email is not required but has to be a valid email
-Form submit is disabled if the form isn't valid
-Show a required or invalid email error
-Alert awesome if submitted correctly

Video Tutorial

Sort:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

  • Nothing you say is your own work in any contribution that i've ever inspected. Example
  • Copy and paste the text above to the google to understand more about why you might have been rejected, which has taken from your mouth (or taken from google)

Requirements
Name is required
Username is not required, minimum length 3, maximum length 8
Email is not required, but has to be a valid email
Form submit is disabled if the form isn't valid
Show a required or invalid email error
Alert awesome if submitted correctly

Kind Regards

You can contact us on Discord.
[utopian-moderator]

Coin Marketplace

STEEM 0.21
TRX 0.14
JST 0.030
BTC 68220.71
ETH 3321.59
USDT 1.00
SBD 2.74