big-dog1965
01-14-2007, 02:32 AM
Sorry for the length of post, but tried to cover everything needed to answer my questions
Ok heres my code seems to work but I need a little modifications done.
I hope someone can help. Im using the CGI mail script that is provided by the hosting service. (NOTEIS NOT PART OF THE CODE)
The things in [COLOR="Red"]red at the bottom I would like to work. I tryed what you see but no value is output in the incoming mail.
<form action="http://www.bluehost.com/bluemail" enctype="multipart/form-data" method="POST" onsubmit="return FrontPage_Form4_Validator(this)" language="JavaScript" name="FrontPage_Form4">
<div align="center">
<table border="0" width="52%" style="font-family: serif; font-weight: bold" cellspacing="0">
<tr>
<td colspan="3">
<p align="center"><i><b>Pre Order Information Request Form. <font size="2">
Please fill out completely</font></b></i></td>
</tr>
<tr>
<td width="112">Choose Option</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" b-disallow-first-item="TRUE" --><select size="1" name="subject">
<option selected>Select an Option</option>
<option>Inquires</option>
<option>ONE Green Cloth</option>
<option>FOUR Green Cloth</option>
<option>EIGHT Green Cloth</option>
</select><br></td>
</tr>
<tr>
<td width="112">Name</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="NAME""><br></td>
</tr>
<tr>
<td width="112">Email</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="mailfrom"><br>
</td>
</tr>
<tr>
<td width="112">Street Address</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="STREETADDRESS""><br></td>
</tr>
<tr>
<td width="112">Street Address 2</td>
<td colspan="2"> <input type="text" name="STREETADDRESS2""></td>
</tr>
<tr>
<td width="112">City</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="CITY""><br></td>
</tr>
<tr>
<td width="112">State</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="STATE""></td>
</tr>
<tr>
<td width="112">Zip</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="ZIPCODE""><br></td>
</tr>
<tr>
<td width="112">Phone</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="PHONE""><br></td>
</tr>
<tr>
<td width="112" valign="top">Comments:</td>
<td colspan="2"><textarea rows="3" name="Comments" cols="30"></textarea></td>
</tr>
<tr>
<td width="112">Information Only</td>
<td> <input type="submit" value="Send Email" style="font-family: serif; font-weight: bold"><br></td>
<td> <input type="hidden" name="redirect" value="http://mysite.com/subsite/thankyou.htm">
<input type="hidden" name="sendtoemail" value="myemail@mysite.com">
<input type="hidden" name="Date" value="date_stamp">
<input type="hidden" name="IPAddress" value="IP">
__________________________________________________ _____________
Here is what is sent out. I would like to get rid of (Your BlueMail form has been completed, following are the results) Replace it maybe with a more sutable form name Green Cloth
Get rid of (Field Value)
And finaly have the date stamp and IP values work.
Your BlueMail form has been completed, following are the results
Field Value
subject ONE Green Cloth
NAME bigdog
mailfrom bigdog@xxxxx,net
STREETADDRESS 417 S young
STREETADDRESS2
CITY Deerborn
STATE KY
ZIPCODE 67777
PHONE 841-208-3272
Comments Comment Test
Date date_stamp (Nothing is output)
IPAddress IP (this is output in stead of actual IP)
Ok heres my code seems to work but I need a little modifications done.
I hope someone can help. Im using the CGI mail script that is provided by the hosting service. (NOTEIS NOT PART OF THE CODE)
The things in [COLOR="Red"]red at the bottom I would like to work. I tryed what you see but no value is output in the incoming mail.
<form action="http://www.bluehost.com/bluemail" enctype="multipart/form-data" method="POST" onsubmit="return FrontPage_Form4_Validator(this)" language="JavaScript" name="FrontPage_Form4">
<div align="center">
<table border="0" width="52%" style="font-family: serif; font-weight: bold" cellspacing="0">
<tr>
<td colspan="3">
<p align="center"><i><b>Pre Order Information Request Form. <font size="2">
Please fill out completely</font></b></i></td>
</tr>
<tr>
<td width="112">Choose Option</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" b-disallow-first-item="TRUE" --><select size="1" name="subject">
<option selected>Select an Option</option>
<option>Inquires</option>
<option>ONE Green Cloth</option>
<option>FOUR Green Cloth</option>
<option>EIGHT Green Cloth</option>
</select><br></td>
</tr>
<tr>
<td width="112">Name</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="NAME""><br></td>
</tr>
<tr>
<td width="112">Email</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="mailfrom"><br>
</td>
</tr>
<tr>
<td width="112">Street Address</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="STREETADDRESS""><br></td>
</tr>
<tr>
<td width="112">Street Address 2</td>
<td colspan="2"> <input type="text" name="STREETADDRESS2""></td>
</tr>
<tr>
<td width="112">City</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="CITY""><br></td>
</tr>
<tr>
<td width="112">State</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="STATE""></td>
</tr>
<tr>
<td width="112">Zip</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="ZIPCODE""><br></td>
</tr>
<tr>
<td width="112">Phone</td>
<td colspan="2"> <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="PHONE""><br></td>
</tr>
<tr>
<td width="112" valign="top">Comments:</td>
<td colspan="2"><textarea rows="3" name="Comments" cols="30"></textarea></td>
</tr>
<tr>
<td width="112">Information Only</td>
<td> <input type="submit" value="Send Email" style="font-family: serif; font-weight: bold"><br></td>
<td> <input type="hidden" name="redirect" value="http://mysite.com/subsite/thankyou.htm">
<input type="hidden" name="sendtoemail" value="myemail@mysite.com">
<input type="hidden" name="Date" value="date_stamp">
<input type="hidden" name="IPAddress" value="IP">
__________________________________________________ _____________
Here is what is sent out. I would like to get rid of (Your BlueMail form has been completed, following are the results) Replace it maybe with a more sutable form name Green Cloth
Get rid of (Field Value)
And finaly have the date stamp and IP values work.
Your BlueMail form has been completed, following are the results
Field Value
subject ONE Green Cloth
NAME bigdog
mailfrom bigdog@xxxxx,net
STREETADDRESS 417 S young
STREETADDRESS2
CITY Deerborn
STATE KY
ZIPCODE 67777
PHONE 841-208-3272
Comments Comment Test
Date date_stamp (Nothing is output)
IPAddress IP (this is output in stead of actual IP)