Search  
   
Browse by Category
 
Netfirms 24/7 Support .: SITE: DESIGN, PUBLISHING & FTP .: C. Web Forms .: How do I use Formmail?

How do I use Formmail?

Introduction
Forms on your Website can be used to collect data from a Website and send it via E-mail to a desired location. It can be used for adding ordering forms, feedback forms and simple surveys.

Once you have your forms designed in your favorite HTML editor or web design tool, getting your forms to actually work only takes 2 easy steps.


IMPORTANT: Please ensure that there are no spaces in the name of your contact form or feedback form.

1. Using our pre-installed forms handler

First of all, you must design your form using your desired web design tools. Once this is done, you must manually edit the HTML code for your form, some web design software has this feature built in.

You have to modify the following code on your form page:
<form action="/cgi/formmail" method = "POST">
The above code instructs your form to use the Netfirms form handler to process the form.

NOTE: Do not reference your domain pointer in the form action tag as that will produce an error message.

2. Specify Recipient E-mail address (limit is maximum 2 recipients)

Next you must have the following line of code after the form action tag we entered above:

<input type=hidden name="recipient" value="you@yourdomain.com">
OR
<input type=hidden name="recipient" value="you@yourdomain.com,anothername@anotherdomain.com">

This instructs the formmail script where to E-mail the information entered on the form. Be sure to change you@yourdomain.com to your actual E-mail address.

Optional Fields:

You add
optional fields to your form to customize the functionality of the form. For example you can require certain fields to be completed, specify the page visitors see after completing the form.

If you use Microsoft FrontPage,
click here for instructions without having to edit HTML code.

<form action="/cgi/formmail" method="post">

<input type="hidden" name="recipient" value="you@yourdomain.com">

Troubleshooting Tips: Once you have created and published your web form according to the instructions above, you should test your web form. If you are not receiving emailed copies of the webforms submitted from your website, click here for troubleshooting tips.


How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.