COP3832, Assignment 5

Due Tuesday 11/9 at the start of class

You are to write two scripts for me. Add links to your server page to each script. Hand in a printout of each script.

You will need to use the split and join functions.

Handing in the assignment: upload the two separate scripts to the web and hand in a printout of each.

Script 1

Write a script that will display a form containing the following

When the form is submitted:

Script 2

Allow the user to enter the following.  The user must fill in all fields.

The first time this form is displayed, it should show a form where the user can fill in the above information.

When this information is submitted, the script should verify that each field has been filled in or selected, and that it meets the above requirements. If not, redisplay the page with appropriate error messages, and use the background color of a <td> field to highlight the invalid fields. Be sure that the user's previous choices are still visible.

If all the information is correct, display the user's information as text. Reformat the data as follows