How do i make a validation page?
Posted on 2003-03-05
i was wondering if anyone can help me, i am currently doing a project on validation pages, but being generally new to internet programming, i havent a clue on how i would achive this. here is the outline for the project.
You are asked to produce a registration page for an English web site. The page should contain a form asking for the following information:
Title (Drop down box)
Address Line 1
Address Line 2 (optional to fill in)
Telephone Number (optional to fill in)
In addition the following will be required:
The page should validate the fields and display an error message for any empty compulsory fields and boxes with the incorrect format. E.g. invalid e-mail address, numbers in the name field, etc.. The two attempts to enter a password must also agree although any restrictions on password.
Only if the form validates should a pop-up window appear containing the registration information (although obviously not the password).
again, i am really lost on this and if anyone could help me i would greatly apprieciate it. cheers.