Rodrigo Munoz - COP4813 - Web Systems I
Assignment 3 - Form Validation with Javascript
1. Javascript is used to make sure that:
- All fields are filled in
- Birth Date is after 1900 and before today
- Email address has an "@" and a period "."
- Zip code must be 5 digits
2. Phone Number uses jQuery input mask
3. Robot test made with Javascript- If the wrong code is entered, another code is generated.
This page validated with 'Web Accessibility Checker' WCAG 2.0 (Level AA)
Resources used for this assignment:
Actual code used:
Youtube - Input mask using jquery tutorial for beginners by WEB NOW
StackOverflow - Shortest code to get random string of numbers and letters
Also looked at:
StackOverflow - Phone mask with jQuery and Masked Input Plugin
digitalbush.com - masked input plugin
W3schools - JavaScript RegExp Reference
StackOverflow - Generating Random Passwords