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.
- Host: GitHub
- URL: https://github.com/normandy72/form-validation
- Owner: Normandy72
- Created: 2023-01-25T11:35:11.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T12:45:04.000Z (over 3 years ago)
- Last Synced: 2025-07-05T02:03:18.877Z (11 months ago)
- Topics: angular, angularjs, css, css3, html, html5, javascript, js
- Language: HTML
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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;
}
```