[ Insiteweb Home Page
Introduction
The Steps
With Secure Server
FrontPage97 Users
FrontPage98 Users
Us Setting up a Form for You
Our webform.cgi tutorial shows how to setup an HTML form to send email upon the submission 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 program is a derivation of the formmail.cgi program available at Matt's Script Archive.
To modify an existing HTML form to work with webform.cgi, please follow the simple instructions below.
We will use the example of an account with
Insiteweb with the following
account info:
Homepage name: index.htm
Name of page with the form on it: xyz.htm
Name of the thank-you page: thanks.htm
Email address: abcdefg@xyz.com
First, we will need to make a link to "xyz.htm" from the homepage, "index.htm". The link will need to use this piece of HTML code, inserted into the file, "index.htm":
We can of course substitute other words or an image for, "Link to form page."
Second, we need to insert some HTML code into the file, "xyz.htm".
We will insert this code:
Of course, we may we may replace "Form
Submission" with some other subject.
For Secured Server on UNIX the path would be:
<form method="post" action="https://wwwXXXX.securedweb.net/cgi-bin/webform.cgi">
<input type="hidden" name="recipient" value=" abcdefg@xyz.com">
<input type="hidden" name="redirect" value="https://wwwXXXX.securedweb.net/yourdirectory/thanks.htm">
<input type="hidden" name="subject" value="Form Submission">where XXXX should be substituted with the number of your server.
Insiteweb can setup a form for you for a one-time $30 fee. Each form would entail such a one-time fee. You would need to specify:
the email 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
Please note that our work would entail the basic structure of the form itself rather than the aesthetic design of the page. The customer would be responsible for the aesthetics, after the form is setup. We will, of course, give the form an organized design.
These pages are for Insiteweb customer support only. While every effort is made to keep these pages current Insiteweb cannot be held responsible for loss or damage to files or equipment due to procedures stated on this website. You must agree to the insitewebdesigncom terms of service prior to using this information.