Voice 209.543.1800
Toll Free 800.905.FIRE
Fax 209.545.1469

Email
General questions:
info@fire2wire.com
Support questions:
support@fire2wire.com

 

 


Support

Setting Up an Email form

Before you begin, this How-to assumes that you already have the HTML of the form writen. There are many competent editors, such as MS-Frontpage, that will help you quickly lay out your form, or if like me you would rather write it by hand you can look here for more information.

What goes in the FORM tag

First, if you are thinking of using <form action="mailto:...">, don't. It doesn't work on most browsers and is not likely to work. That said, here is the "right way" to set up the form.

Find the <FORM> tag in your HTML page, and then edit it. It should look something like this:

<FORM action="http://www.fire2wire.com/cgi-bin/FormMail.cgi" method="GET">

you may optionaly have other attributes in the tag, but the action and method attributes are required.

Do I Need to Add Any Special Fields

There is only one required field. The form needs to have a field called "recipient". The value of this field is the email address the form results are sent to, in other words yours. The best way to add this field is in a hidden input, created with a tag like this:

<input type=hidden name="recipient" value="email@your.host.com">

Of course, replaceing "email@your.host.com" with your email address.

Adding the Bells and Whistles

There are a number of optional fields you can add. The two most common are "subject" and "email". You can set the subject line of the email with tag like:

<input type="hidden" name="subject" value="subject of your email">

If you want to let the users specify their email address and set that as the return address of the email you can add a tag like:

<input type="text" name="email">

You can look here, in FormMail's documentation, for a compleate list of options.