For today's assignment, I'd like you to create a well-organized
form containing all of the following:
- 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
- a text box with a label of First Name
- a text box with a label of Last Name
- a text box with a label of Company
- a text box with a label of Street
- a text box with a label of City
- a text box with a label of State or Province
- a text box with a label of Postal Code
- a text box with a label of Phone
- a text box with a label of Email Address
- a text area with a label of Comments
- 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.
|