Complex Example Form

The code


<form action="http://www.tfn.net/cgi-bin/mail" method="post"> <!-- set value=name@hostname --!> <input type=hidden name=to value=> Your Name: <input TYPE="text" NAME="name" SIZE=40><br> Your Company: <input type=text name=compname size=40 ><br> Your Address: <input type=text name=addr1 size=40><br> Your Address: <input type=text name=addr2 size=40><br> City: <input type=text name=city size=30 value=Tallahassee> State: <input type=text name=state size=3 value="FL"><br> Zip: <input type=text name=zip size=10 value="323--"><br> Phone Number: <input type=text name=phoneday size=20 value="(850) "><br> Your Email: <input TYPE="text" NAME="email" SIZE=40><br> <input TYPE=text NAME="subject" SIZE=40><br> <h4>Please enter your Comments or Information here:<br></h4> <textarea name=content rows=6 cols=53 value="Please Call me"></textarea> <input type=submit value=send> <input type=reset value=clear> </form>

You must set the value of the to field with the correct email address that you want the mail sent to

What the form looks like

Your Name:
Your Company:
Your Address:
Your Address:
City: State:
Zip:
Phone Number:
Your Email:

Please enter your Comments or Information here: