# Basic Form in DW HELP!

**URL:** <https://forum.kirupa.com/t/basic-form-in-dw-help/32692>\
**Category:** web dev\
**Created:** [October 9, 2003, 11:48pm UTC](https://forum.kirupa.com/t/basic-form-in-dw-help/32692 "2003-10-09T23:48:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc123](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@marc123](https://forum.kirupa.com/u/marc123)\
**Post date:** [October 9, 2003, 11:48pm UTC](https://forum.kirupa.com/t/basic-form-in-dw-help/32692/1 "2003-10-09T23:48:23Z")

</div>

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](mailto:action=%22mailto:RafikBaines@hotmail.com)"\>  
\<INPUT TYPE=“hidden” NAME=“success” VALUE=“[http://www.bahamashaumanitieseducation.com/thanks.htm](http://www.bahamashaumanitieseducation.com/thanks.htm)”\>  
\<table width=“516” border=“0” bordercolor="#CCCCCC" bgcolor="#CCCCCC"\>  
\<tr\>  
\<td width=“197” bgcolor="#CCCCCC"\>&nbsp; \</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](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!
