Adding a form to your website requires two processes. One is the 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 PageTutor.com 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 website.
After you’ve created the 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 the 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. firstname.lastname@example.org“>
<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. http://www.yourdomain.com/thankyou.html“>
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 email@example.com you would insert yahoo.com. It’s 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.