Hello Chip John i understand what your saying. i been trying to get this form I create in DW8 up and working. I have created a sendresults.PHP page and a redirect page.php. still having trouble. I am just getting started in Macromedia. been using FP w/ swishmax to develop over the last 4 yrs.
What I am trying to build is this
1: collect form info and email to my Acct.
2: tell person thank you and redirect them to home page
1st ?? in my Quote form.htm page i noticed there is nothing in the code that says my web addy. Is this right?
with my old form page(created in FP) my addy and other stuff is in the actual form page. also it looks like the form is built using a table( 2 colums and 40 rows)
with the stuff I have uploaded I fill the form out and click submit, the sendresults.php page is displayed. here is a link to the form
http://www.yachthauling.com/quote%20form.htm
I am not to experienced in code, but when i look at it I kinda see what is happening. So I'll say i'm a beg.
here is the code for the quote Form
in the action field i had sendrsults.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Boat & Yacht Hauling Quotes</title>
</head>
<body bgcolor="#FFFF99">
<form name="form1" method="post" action=""><p align="center"><font color="#0000CC" size="6"><strong>Quote Form</strong> </font></p>
<p><font color="#0000CC"><strong>Name:</strong></font>
<input name="Name2" type="text" id="Name2" size="54">
</p>
<p><font color="#0000CC"><strong>Address:</strong></font>
<!--webbot bot="Validation" b-value-required="TRUE" -->
<input name="Address2" id="Address2" size="51">
</p>
<p><strong><font color="#0000CC">City:
<input name="City2" type="text" id="City2" size="35">
State:
<input name="State2" type="text" id="State2" size="5" maxlength="2">
Zip:
<input name="Zip2" type="text" id="Zip2" size="10" maxlength="5">
</font></strong></p>
<p><strong><font color="#0000CC">Phone #'s: H.
<input name="Home2" type="text" id="Home2" size="13" maxlength="9">
W.
<input name="Work2" type="text" id="Work2" size="13" maxlength="9">
C.
<input name="Cell2" type="text" id="Cell2" size="13" maxlength="9">
Fax.
<input name="Fax2" type="text" id="Fax2" size="13" maxlength="9">
</font></strong></p>
<p><strong><font color="#0000CC">Email:
<input name="Email2" type="text" id="Email2" size="54">
</font></strong></p>
<p align="center"><font color="#009900" size="4"><strong><font color="#990000">Load Description</font></strong></font></p>
<p align="left"><font color="#990000"><strong>Make:
<input name="Make2" type="text" id="Make2" size="30">
Model:
<input name="Model2" type="text" id="Model2">
Year:
<input name="Year2" type="text" id="Year2" size="10" maxlength="4">
</strong></font></p>
<p align="left"><font color="#990000"><strong>Weight:
<input name="Weight2" type="text" id="Weight2" size="10">
Length:
<input name="Length2" type="text" id="Length2" size="5">
Width:
<input name="Width2" type="text" id="Width2" size="10">
Height:
<input name="Height2" type="text" id="Height2" size="10">
Draft:
<input name="textfield2" type="text" size="5">
</strong></font></p>
<p align="left"><font color="#990000"><strong>Mast:
<label>
<input type="radio" name="MastY/N" value="Yes">
Yes</label>
<input name="RadioGroup1" type="radio" value="No" checked>
No Length:
<input name="Mast Length2" type="text" id="Mast Length2" size="5">
</strong></font></p>
<p align="left"><font color="#990000"><strong>Trailer:
<label>
<input type="radio" name="TrailerY/N" value="Yes">
Yes</label>
<input name="RadioGroup1" type="radio" value="No" checked>
No Cradle:
<label>
<input type="radio" name="CradleY/N" value="Yes">
Yes</label>
<input name="RadioGroup1" type="radio" value="No" checked>
No</strong></font></p>
<p align="left"><font color="#990000"><strong>Bridge or Arch need to be removed:
<select name="select" id="select">
<option value="Yes">Yes</option>
<option value="No">No</option>
<option value="N/A" selected>N/A</option>
</select>
</strong></font></p>
<p align="left"><font color="#009933"><strong><font color="#009900" size="4"> Lo ading Location &n bsp; &nbs p;   ; <font color="#FF0000">Delivery Location </font></font></strong></font></p>
<p align="left"><font color="#009900"><strong>Marina:</strong></font>
<input name="LoadingMarina2" type="text" id="LoadingMarina2" size="30">
&n bsp; &nbs p; <strong><font color="#FF0000">Marina:</font></strong>
<input name="Delivery Marina2" type="text" id="Delivery Marina2" size="30">
</p>
<p align="left"><font color="#009900"><strong>Address:</strong></font>
<input name="LMAddress2" type="text" id="LMAddress2" size="30">
&n bsp; &nbs p; <strong><font color="#FF0000"> Address:</font></strong>
<input name="DMAddress2" type="text" id="DMAddress2" size="30">
</p>
<p align="left"><font color="#009900"><strong>City, St., Zip:</strong></font>
<input name="LMCitySTzip2" type="text" id="LMCitySTzip2" size="30">
&n bsp; <str ong><font color="#FF0000">City, St.,Zip</font></strong><font color="#FF0000"><strong>:</strong></font>
<input name="DMCityStZip2" type="text" id="DMCityStZip2" size="30">
</p>
<p align="left"><strong><font color="#009900">Contact & Ph#:
<input name="LMPH#2" type="text" id="LMPH#2">
&n bsp; &nbs p; <font color="#FF0000">Contact & Ph#:</font>
<input name="DLPH#2" type="text" id="DLPH#2">
</font></strong></p>
<p align="left"><strong><font color="#0000FF">Date you would like to move Load?
<input name="Move Date2" type="text" id="Move Date2">
</font></strong></p>
<p align="left"><strong><font color="#0000FF"> Any other Prices Quoted?
<input name="OtherQuotes2" type="text" id="OtherQuotes2" value="">
</font></strong></p>
<p align="left"><strong><font color="#990066">Any other information you would like to provide us.</font></strong></p>
<p align="left"><strong><font color="#990066">
<textarea name="textarea" cols="75" id="textarea"></textarea>
</font></strong></p>
<p align="center"> <font color="#009900">
<label>
<input type="submit" name="Submit2" value="Submit">
<input type="reset" name="Reset2" value="Reset">
</label>
</font> </p>
<p align="center">
<!--#include virtual="/counter/count.cgi?page=counter&type=image&style=blushdw&im gtype=png&nbdigits=5"-->
<input type="hidden" name="hiddenField2">
</p>
</form>
</form>
</body>
</html>
Here is the codefor the send results.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<blockquote><?php
<br />
$youremail = "yachthauling@msn.com"; <br />
$subject = "YachtQuote"; <br />
$thankyou = "redirectpage.php"; <br />
if($email == ""

{ <br />
?> <br />
No email address added. Please go back.<br/> <br />
<?php <br />
}elseif($name == ""

{ <br />
?> <br />
No name added. Please go back.<br/> <br />
<?php <br />
}elseif($message == ""

{ <br />
?> <br />
No message added. Please go back.<br/> <br />
<?php <br />
}else{ <br />
<br />
$msg = ereg_replace("\\\'", "'", $message); <br />
$msg = ereg_replace('\\\"', "\"", $msg); <br />
$message1 = "from: $name\nemail: $email\nmessage:\n$msg1"; <br />
<br />
mail($youremail, $subject, $msg, "From: $email\r\nReply-to: $email\r\n"

; <br />
?> <br />
<meta http-equiv="refresh" content="0; url=<?echo $thankyou;?>""> <br />
<?php <br />
} <br />
?></blockquote>
</body>
</html>