Question: USING PHP CREATE A FORM VALIDATION Here is what it is supposed to look like 3. All form values must be validated to meet the

USING PHP CREATE A FORM VALIDATION

USING PHP CREATE A FORM VALIDATION Here is what it is supposed

Here is what it is supposed to look like

to look like 3. All form values must be validated to meet

3. All form values must be validated to meet the required specifications upon clicking the submit button.

4. Errors in the form shall be displayed next to the form control that has the error.

5. The form shall only be submitted when all values in the controls are validated to meet the specifications.

6. The validation scripts must reside in a separate JavaScript file include through the header of the html document.

7. The Form must be structured in a readable format.

8. The method of the form shall be POST.

9. The action of the form shall be processform.php

Name First Name Type String Control Type TextBox Last Name String TextBox Age Int TextBox Gender String Radio Height 2 Textboxes. 1 for Feet, the other for Inches. Textbox with the max length of 12. Phone Phone Requirement 50 Characters max. First letter must be capitalized. 50 Characters Max. First letter must be capitalized. Shall be a valid integer. Value shall fall within range of 0 to 100. Male, Female, NA. Only one option can be selected at any given time. shall be a valid double (decimal) number. Max Height shall be 10 feet O inches. Must be a standard 9 digit US number with or without parentheses and dashes. Both cases should be valid. The user shall not be able to type more than 12 characters in the textbox. (123) 456- 7890, 123-456-7890 should both be valid Max Length 250 characters. Max Length 75 Characters. Select box with all 50 states in Abbreviated form displayed and capture the actual state as the value. Must be a valid Zip Code. 5 digits or 5 and 4 digits separated by a hyphen. 12345 or 12345-6789 should both be valid. The text box shall have a size of 10 and not allow the user to enter more than 10 characters Address City State String String String Textbox Textbox Select Option ZipCode String TextBox FavoriteColor String A range of 10 valid HTML colors in a select option control The Display should show the color and name of the color. The value should be the valid HTML color. Named color or HEX values can be used. A textbox with no size limit. Invoke the submit action. An integer About Me String Submit Button Form action Favorite Number Int TextArea Submit Text Box First: Last: Age: Gender: Male Female Other Height: Phone: Address: City: State: AL * Zip: Favorite Color: Rec * About Me: Favorite Number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!