Lesson 06

For today's assignment, I'd like you to create a well-organized form containing all of the following:
 

     
  1. a form tag containing a method attribute set to method="post" and an action set to send all form data to the form processing program located at the following URL:

    http://www.ed2go.com/cgi-bin/formpost.cgi

     
  2. a text box with a label of First Name

     
  3. a text box with a label of Last Name

     
  4. a text box with a label of Company

     
  5. a text box with a label of Street

     
  6. a text box with a label of City

     
  7. a text box with a label of State or Province

     
  8. a text box with a label of Postal Code

     
  9. a text box with a label of Phone

     
  10. a text box with a label of Email Address

     
  11. a text area with a label of Comments

     
  12. a submit button with a label of Submit Form

     


You are free to choose your own values for any attributes not specified above, such as the name or size attribute. You may arrange the fields in any way that you believe makes sense, as long as it has an orderly and professional appearance.

When you finish, save your work as "form2.html" and open it in your browser. Fill out the form completely with bogus information and submit it to my form processing program.

Count the number of fields the form processing program displays. If you see 10 discrete pieces of information, congratulations -- your form worked perfectly!

Do not be concerned if the data is not processed in the order that you entered it. This is normal, and is caused by the fact that each data packet will take its own route across the Internet to the form processing program. Some will make it sooner than others, resulting in subtle variations in the order in which information is presented to you.

If the form processing program did not display 10 fields representing the first name, last name, company, street, city, state or province, postal code, email address, phone number, and comments you entered, check your form for typos. Perhaps you gave two different fields the same name. Correct the error and try again.

If you have any questions or difficulties with this assignment, please let me know! And if you're particularly proud of what you've done, feel free to upload your work to the Web and use the discussion area to share the URL with your classmates.

 

Click HERE for Claudia's Results

Back to Studies Home