|
|
|
Web Site Forms Adding a form to your Web site Our form script sends the contents of a Web form page to an email address. You add HTML tags to the form page to pass the information the script requires.
Basic Form Script You must add the following to your HTML: To call the script: <form action="/cgi-bin/sendform" method="post"> You must specify the email address
to send the form to: If you are asking the user for their email
address in your form, you can call the text field "from" and the email
will appear to come from that address, allowing you to use the "Reply
to" feature of your email software. Returned Pages You can specify the page that is viewed
after the form is submitted:
You may wish to set up your form
page so that some of the fields are mandatory, that is, the form will
not be submitted unless these fields are filled in. You can specify the page that
is viewed if the mandatory fields are not filled in:
You can add an autoresponder feature to send a confirmation email to the user. Add these three hidden fields: The email message: The subject line of the email
message: The email address the message
will appear to be from:
The contents of your forms appear
in the email in alphabetical order by field name, but you can specify
a different order if you wish: You can also specify a subject
line for the email:
|