I am doing a basic form in dreamweaver Mx.
I would like the info in the form to be sent to a specfic email.
Then the user is taken to a “thank you” page.
The info is sent to the email, but the user is not taken to the thank you page. When the user clicks submit, outlook express takes over & sends the email, but the info the user typed remains there with no confrimation. so the user is not sure what is going on…
Here is the script…
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”>
<script language=“JavaScript” type=“text/JavaScript”>
<!–
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==“Netscape”)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//–>
</script>
</head>
<body>
<form name=“form1” method=“Post” action="mailto:RafikBaines@hotmail.com">
<INPUT TYPE=“hidden” NAME=“success” VALUE=“http://www.bahamashaumanitieseducation.com/thanks.htm”>
<table width=“516” border=“0” bordercolor="#CCCCCC" bgcolor="#CCCCCC">
<tr>
<td width=“197” bgcolor="#CCCCCC"> </td>
<td width=“309” bgcolor="#CCCCCC"><font size=“3” face=“Arial, Helvetica, sans-serif”>Questionnaire</font></td>
</tr>
</table>
<table width=“516” border=“0” cellpadding=“0” bordercolor="#333333" bgcolor="#CCCCCC">
<tr>
<td width=“230” height=“23” bgcolor="#FFCC99"><font size=“2” face=“Arial, Helvetica, sans-serif”>
First Name</font></td>
<td width=“280” bgcolor="#FFCC99">
<input name=“first name” type=“text” id=“first name” size=“25” maxlength=“25”>
</td>
</tr>
<tr>
<td bgcolor="#FFCC99"><font size=“2” face=“Arial, Helvetica, sans-serif”>Last
Name</font></td>
<td bgcolor="#FFCC99">
<input name=“Last Name” type=“text” id=“Last Name” size=“30” maxlength=“30”>
</td>
</tr>
<tr>
<td bgcolor="#FFCC99"><font size=“2” face=“Arial, Helvetica, sans-serif”>Email</font></td>
<td bgcolor="#FFCC99">
<input name=“Email” type=“text” id=“Email” size=“30” maxlength=“30”>
</td>
</tr>
</table>
<table width=“516” border=“0” cellpadding=“0” bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td width=“230” bgcolor="#FFCC99"><font size=“2” face=“Arial, Helvetica, sans-serif”>In
what ways do you feel we can improve the site?</font></td>
<td width=“280” bgcolor="#FFCC99">
<textarea name=“improve the site” id=“improve the site”></textarea>
</td>
</tr>
</table>
<table width=“515” border=“0” cellpadding=“0” bgcolor="#CCCCCC">
<tr>
<td width=“229” bgcolor="#FFCC99">
<input type=“submit” name=“Submit” value=“Submit”>
</td>
<td width=“280” bgcolor="#FFCC99">
<input name=“reset” type=“reset” id=“reset” value=“Reset”>
<input name=“redirect” type=“hidden” id=“redirect” value=“http://www.bahamashumanitieseducation.com/thanks.htm”>
<input name=“subject” type=“hidden” id=“subject” value=“form questionnaire”>
</td>
</tr>
</table>
</form>
</body>
</html>
any ideas? Need Help!