home -- outline -- lectures -- assignments -- discussion -- tips -- links --



Ordering a Taxi

American Taxi, which serves suburban Chicago, has a lengthy Automated Phone System to order a cab. As a general rule, nearly everything that can be done by such a phone system can be done better by using html and forms.
  1. Create a form to order a cab from a private residence to O'Hare or Midway. Be sure and have the user enter all the information needed to order the cab.
  2. Use Javascript to precheck some fields before the form is submitted. For example, you might want to verify that no more than 5 people should be carried by a single taxi.
  3. Use Cookies (via Javascript) to remember some information for the next time the user uses this form. For example, have the phone number of the pick-up address be the same as when the form was previously submitted.
Some useful hints: