Software Solutions

 


Home
About Us
Virtual Hosting
Spam Filtering
Tool Shop
Commercial Listings
Genealogy
Health Links
Local Links
Misc Links
Politics
Religion
Policies

ThingsToDo.com


Software Solutions
PO Box 1080
Riverton, UT  84065

Salt Lake
208-7080

Support

Information

Adding a Simple Form to your Web Page

Forms provide a way for you to see who is visiting your web site and what they thought of it. A form can also be used to let visitors request more information about the subject of your site.

Use the following steps to add a simple form to your page and have the information it collects sent to your Email box:

(Remember, when you transfer files using FTP use the ASCII format for text files-the ones with an extension of .txt and .htm and the BINARY format for images-.gif & .jpg)

1. Place the following lines in the top part of the FORM section of your document:

<FORM ACTION ="/cgi-bin/formmail.pl" METHOD="POST">
<INPUT TYPE=hidden NAME="recipient" value=" you@youraddress.com">
<INPUT TYPE=hidden NAME="subject" value=" Customer Feedback">
<INPUT TYPE=hidden NAME="username" value="webpage@webaddress.com">

In the example above, the line with NAME equal to recipient specifies who the mail is sent to, subject specifies what you want the subject of your mail to be and username specifies who the mail is from.

2. After the section above, create the form you want visitors to see and close it with</FORM>. For example:
<PRE>
Name:
<INPUT NAME="Name" SIZE="40" MAXLENGTH="40">
Address:
<INPUT NAME="Address" SIZE="60" MAXLENGTH="60">
City:
<INPUT NAME="City" SIZE="20" MAXLENGTH="30">
State: Zip:
<INPUT NAME="State" SIZE="2" MAXLENGTH="15">
<INPUT NAME="Zip" SIZE="7" MAXLENGTH="7">
Phone#:
<INPUT NAME="Phone#" SIZE="14" MAXLENGTH="14">
Comments:
<TEXTAREA NAME="Comments" ROWS="12" COLS="48">
</TEXTAREA>
</PRE>
<INPUT TYPE="SUBMIT" NAME ="Request">
<INPUT TYPE="RESET">
</FORM>

3. Place the HTML document with your form in your website on the server and try it out!

 

Return to Tool Shop Menu