This is an example of a simple form used used to send information. It does
not have any 'form checking', that is, if no information is entered and the form is just
sent, then it will not complain and ask for e-mail addresses, etc. You can always find the
e-mail address from the e-mail anyway. If you wished to prevent the user sending the form
until all the information you require is included, then you would java script or cgi to
validate the form. This form uses a simple POST to work.
You can enter some values and click on the submit button. The form will be
put in your e-mail client's SEND folder. You can then look at it and then delete it. Do
not send it to me! Use my feedback form for that!
You have already learned about forms. The only points about this one are
The method is post
The action is mailto:email@example.com?SUBJECT='Sent from my form' > Which enters some text in the subject line of the e-mail.
The enctype is
"text/plain" This formats the text so you don't get one word after another.
The form elements are named in a way I
can understand them - that is, not B1, T3, etc! So the name box is called NAMER.
This is a very simple form that anyone can
put on their website to get feedback.
Copy of the code for the form above
formmethod=" post "enctype=" text/plain "action="
mailto:firstname.lastname@example.org?subject='Sent from my form' ">