Description
Building off Project 2:
Remove/disable all JavaScript/HTML5 Form Validation, from Project 2 Add server side PHP form validation for user input
Validation Rules for Registration Fields:
-
-
User Name
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters, minimum length 6 characters
-
-
-
-
Password
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters, minimum length 8 characters
-
-
-
-
-
Enforce 1 capital, 1 lowercase, 1 digit, 1 special character
-
-
-
-
Repeat Password
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters, minimum length 8 characters
-
-
-
-
-
Enforce 1 capital, 1 lowercase, 1 digit, 1 special character
-
-
-
-
-
Ensure password fields match
-
-
-
-
First Name
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters
-
-
-
-
Last Name
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters
-
-
-
-
Address line 1
-
-
-
-
Required Field
-
-
-
-
-
Max length 100 characters
-
-
-
-
Address line 2
-
-
-
-
Optional Field
-
-
-
-
-
Max length 100 characters
-
-
-
-
City
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters
-
-
-
-
State
-
-
-
-
Required Field
-
-
-
-
-
Max length 52 characters
-
-
-
-
Zip Code
-
-
-
-
Required Field
-
-
-
-
-
Max length 10 characters, minimum length 5 digits
-
-
-
-
-
Enforce either xxxxx or xxxxx-xxxx format
-
-
-
-
Phone Number
-
-
-
-
Required Field
-
-
-
-
-
Max length 12 characters
-
-
-
-
-
Enforce xxx-xxx-xxxx format
-
-
CMP SCI 3010 Project 3 – Build off Project 2 and Create PHP Form Validation
and Confirmation Page
-
-
Email
-
-
-
-
Required Field
-
-
-
-
-
Enforce Email format, x@x.x format
-
-
-
-
Gender
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters
-
-
-
-
Marital Status
-
-
-
-
Required Field
-
-
-
-
-
Max length 50 characters
-
-
-
-
Date of Birth
-
-
-
-
Required Field
-
-
-
-
-
Enforce MM/dd/yyyy format
-
-
Use PHP to do all the same form validation that JavaScript was doing on the client side.
-
If PHP detects invalid form data, return to Registration page with messaging on each form field that failed.
-
-
Upon successful PHP form validation, submit valid data to the Registration Confirmation
-
page and display a confirmation page.
Confirmation page will follow the same rules as the Registration page for layout. Follow coding standards http://www.w3schools.com/html/html5_syntax.asp