How do I add a cgi form to my site?

Adding a form to your site requires two processes.  One is creation of the form page itself.  The second is use of a script to process the data received from the form page.

The form page can be created in HTML using form tags to designate different field types and properties.  To learn more about Form tags and their use, click here to visit and their Form tutorial.  You will also need to create a thank you page, commonly a page thanking the user for their submission and providing them links back to the main area of your site.

After you have created your form you will need to copy and paste the following lines into the top of the form to interact with the Form Mail script we will provide.  This should be the open form tag of your form.  It should precede your form fields.  Be sure to enter your information for email address, subject, and thank you page.

<FORM ACTION=”../cgi-bin/insertfilename.cgi or .pl depending on which is indicated in your FormMail setup letter” method=”POST”>
<input type=hidden name=”recipient” value=”your email address goes here.  This MUST be an email address on your domain.  Ex.“>
<input type=hidden name=”subject” value=”Enter what you would like to see in the subject line of the email when you receive the form results“>
<input type=hidden name=”redirect” value=”the full path to your thankyou page.  Ex.“>

If you receive an error that says you don’t have a correct referrer in your domain, please open the CGI file and between the ‘ ‘ insert the domain for your email address. For example if your email address is you would insert It is always most advisable and most secure to use your own domain in this field. If you continue to have a problem or need additional assistance with this please let us know.

If you need any help please contact

Was this page helpful?

Do you have any feedback or suggestions to improve this page?