In
the past tutorials we did text boxes, drop-downs, name boxes, radio
buttons and check boxes. Now you can put it altogether. Just remember
to start the code with <form>.
The first thing you must tell the computer is that you are starting
a form, and what you want done with the form data. The command to
alert the computer is:
1. It told the computer a FORM was starting.
2. It stated the METHOD of dealing with the form is to POST it.
3. And the data should be posted to your e-mail address through
the "mailto:" ACTION.
Remember you will need to put your e-mail address immediately after
the "mailto:" without a space. This is where the results
of the form will be sent.
That's nice and simple. Now that the computer knows a form has
begun, it's looking for any one of a number of form styles to deal
with. This tutorial will show how to make text area boxes.
Well, now that the you have placed all the form items you want on
your page, you need a way to have the results sent to your e-mail
box (or wherever you said this would go in the original form statement).
This may be the easiest of all the items. Here are the buttons:
And here are the commands to put the buttons on the page:
<INPUT TYPE="submit">
<INPUT TYPE="reset">
Now when you click on the buttons, the form will enact the ACTION
you noted in the original FORM command. Here it would have been
mailed to your e-mail box
Finally!
Make sure you end your page with this:
</FORM>
Now this form may or may not send directly to your email box. This
is dependant on your server configuration. Some servers that run
the Frontpage extensions will upload a form handler to direct the
information. On some servers this may send to you. Best thing to
do is to consult your server admin.