General
How to Use
Secure Server Issues
FrontPage 97 Issues
FrontPage 98 Issues
Having Us Setting up a Form for You

For a more formatted approach, check out cgiemail.cgi.

General

Following these steps will as show how to setup an html form to send e-mail upon the post call of the form data.  The code calls the preinstalled script webform.cgi, which is in the "cgi-bin" directory of the server, once the web page visitor clicks on the "Submit" button. This cgiemail program is a modification to the formmail.cgi program available at Matt's Script Archive.

How to Use

To make a html form to work with webform.cgi, please follow the simple instructions below.

A "contact us" form is the most common interactive page needed. Here is how to make one. This example uses the following assumptions:

Homepage name: index.htm
Name of page with the form on it: contactus.htm
Name of the thank-you page: thankyou.htm
Email address:  username@yourbiz.com

1. Make a link to "contactus.htm" from the homepage, "index.htm" and ideally, all other pages on your web site. For all pages with this link you will need to use this piece of html code":

<A HREF="http://yourbiz.com/contactus.htm">Contact us for more information</A>

You can substitute other words or an image for, "Contact us for more information" 

2. Insert some html code into the file, "contactus.htm", for details, visit the control panel:

<form method="post" action="http://yourbiz.com/ insert control panel code herei">
<input type="hidden" name="recipient" value="username@yourbiz.com">
<input type="hidden" name="redirect" value="http://yourbiz.com/thankyou.htm">
<input type="hidden" name="subject" value="Contact Us Request">

Again, you can replace "Contact Us Request" with any other subject.

FrontPage 97 Issues

FrontPage 97 users should follow a similar approach. 

FrontPage 98 and 2000 Issues

It is recommended that FrontPage 98 FrontPage 2000 users use a FrontPage-based form instead.  The FrontPage 98 Form WebBots have much greater functionality than web form.  For more info, click on the word, "Help" on the menubar of FrontPage Editor.  Then select "Microsoft FrontPage Help".  Click on the "Index" tab.  In the box, type "form".  You will see a list of relevant topics.

Having Us Setting up a Form for You

Office On Web can setup your form for you at our standard hourly rates for html. We can also develop custom secure forms or shopping carts. To request us to do this use the Technical Contact Form and specify:

  • the e-mail address to which the form submission would go

  • the name of the thank you page

  • all the categories of boxes for the visitor to fill in

For some very useful information on cgi scripts, please consult our CGI FAQ.


 

OfficeOnWeb
261 Hines Road
Polk. PA 16342
Main Phone: 301-591-1745
FAX (call for number)
Toll free is available for clients only (call for number)
Copyright © 1993-2005 by Office on Web of Evergreen Colorado