An open API service indexing awesome lists of open source software.

https://github.com/normandy72/form-validation

Form Validation in AngularJS. Coursera course "Single Page Web Applications with AngularJS" by Yaakov Chaikin.
https://github.com/normandy72/form-validation

angular angularjs css css3 html html5 javascript js

Last synced: about 1 month ago
JSON representation

Form Validation in AngularJS. Coursera course "Single Page Web Applications with AngularJS" by Yaakov Chaikin.

Awesome Lists containing this project

README

          

# Form Validation
### Example of form
```




...

```
## Steps to Form Validation
### Step 1: Create a form in HTML with name attributes
```


Submit

```
### Step 2: Bind Input with ng-model
```


Submit

```
### Step 3: Declare HTML5 Validation Attributes
```


Submit

```
### Step 4: Use Angular Form Bound Objects
```


Name is required

...

Submit

```

### Step 5: Use Angular Validation Styles
```
.ng-touched.ng-valid{
border: 2px green solid;
}

.ng-touched.ng-invalid{
border: 2px red solid;
}
```