Configuring a Form for Form Mail

HTML Setup | FrontPage Setup

HTML Configuration

1. Form Action Tag

If you have already created your form, your page has a Form Action tag. Change it to look like this:

<FORM action="/cgi-bin/FormMail.pl" method="POST">

2. Input Type=Hidden
There are 3 parameters that are required. Put them in your page code right after the Form Action tag. Subject defines the subject line of the email you will receive when a user submits the form. Recipient is the email address of the person getting the form mail. Redirect is the URL the browser goes to after the user submits the form.

<input type=hidden name="subject" value="Your Subject">
<input type=hidden name="recipient" value="email@my.com">
<input type=hidden name="redirect"value="http://my.com/thank.htm">

Return to the top of this page


FrontPage Configuration

1. Open the page that contains your form in the Editor.

2. Right click within the form area and choose "Form Properties". Click the radio button next to "Send to other" and choose "Custom ISAPI, NSAPI, CGI, or ASP Script".

formprop.GIF (4775 bytes)

3. Click the "Options" button. In the "Action" box, put "/cgi-bin/FormMail.pl". Then click "OK"

handler.GIF (2614 bytes)

4. Click the "Advanced" button in the Form Properties dialog box. You will have to Add 3 hidden fields here: recipient, redirect and subject. Recipient is the email address of the person getting the form mail. Redirect is the URL the browser goes to after the user submits the form. Subject defines the subject line of the email you will receive when a user submits the form.

advanced.GIF (3646 bytes)

5. Click OK to the Advanced Form Properties dialog box, then click OK again to the Form Properties dialog box. Save your work and exit.