Customer Support CenterIntroduction
The Steps
With Secure Server
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
midairdesign with the following
account info:
Homepage name: index.html
Name of page with the form on it: xyz.html
Name of the thank-you page: thanks.html
Email address: abcdefg@xyz.com
First, we will need to make a link to "xyz.html" from the homepage, "index.html". The link will need to use this piece of HTML code, inserted into the file, "index.html":
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.html". 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.midairdesign.com/cgi-bin/webform.cgi">
<input type="hidden" name="recipient" value=" abcdefg@xyz.com">
<input type="hidden" name="redirect" value="https://wwwXXXX.midairdesign.com/yourdirectory/thanks.html">
<input type="hidden" name="subject" value="Form Submission">where XXXX should be substituted with the number of your server.
MidAir Design can setup a form for you for a one-time $35 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.
If you are interested in this service, please contact our Sales Office