Hi, i have been trying to make a form thru dreamweaver 3. I have done whatever is requird,ie i have put all the text fields in my form ie in the red section area.The problem is tht i have put two button ie the submit button and the reset buuton.both of the buttons sem not to be working at all.The submit button is there so tht when a user clicks it,an email is sent to the particular email address.but it is not working.tell me what should i do. i m pasting the coding, pls tell me wht is wrong with the coding and help me out with the solution.thank u.
asfiya
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#"
!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"
)>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#666666" link="#0000FF" onLoad="MM_preloadImages('buttons/home2.GIF','buttons/about2.GIF','buttons/products2.GIF','buttons/contact%20us2.GIF','buttons/inquiry2.GIF')">
<div id="Layer1" style="position:absolute; left:151px; top:5px; width:618px; height:72px; z-index:2; background-color: #BCBCBC; layer-background-color: #BCBCBC; border: 1px none #000000">
<div align="center"><font face="Arial, Helvetica, sans-serif"> <font color="#0000FF"><b><font face="Arial, Helvetica, sans-serif"><font color="#0000FF"><object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="500" height="87">
<param name=movie value="../../../../Documents%20and%20Settings/Asfi/Desktop/new/new.swf">
<param name=quality value=high>
<embed src="../../../../Documents%20and%20Settings/Asfi/Desktop/new/new.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="500" height="87">
</embed>
</object></font></font><font size="+2" color="#999999"> </font></b></font></font></div>
</div>
<div id="Layer2" style="position:absolute; left:160px; top:156px; width:615px; height:612px; z-index:3">
<h6 align="center"><font size="+4" face="Verdana, Arial, Helvetica, sans-serif"><font size="+2" color="#666666">INQUIRY
</font></font></h6>
<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#999999"><b><font color="#666666">Please
fill in the form, so that we can look into your queries </font></b></font></p>
<form method="post" action="mailto:asfi_m@hotmail.com" name="form1" enctype="text/plain">
</form><p align="left"><b><font color="#666666"> First Name</font><font color="#999999">
</font></b>
<input type="text" name="First name" size="15" maxlength="15">
<b><font size="3" color="#666666">Middle Name</font></b>
<input type="text" name="Middle name" size="15" maxlength="15">
<font size="3"><b> Last Name</b></font>
<input type="text" name="Last name" size="17" maxlength="17">
</p>
<p><font size="3" color="#666666"><b>Company
<input type="text" name="Company" size="40" maxlength="40">
</b></font></p>
<p><b><font size="3" color="#666666"> Address
<textarea name="Address" cols="50" rows="5"></textarea>
</font></b></p>
<p><b><font size="3" color="#666666">Email
<input type="text" name="Email" size="35" maxlength="33">
</font></b><font size="3" color="#666666">(eg: yourname@hotmail.com)</font></p>
<p><b><font size="3" color="#666666">Telephone
<input type="text" name="Telephone" size="20" maxlength="20">
Fax
<input type="text" name="Fax">
</font></b></p>
<p><b><font size="3" color="#666666">Inquiry
<textarea name="Inquiry" cols="73" rows="6"></textarea>
</font></b></p>
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
<form name="form2" >
</form>
<form name="form1" method="post" action="mailto:asfi_@hotmail.com">
</form>
<form name="form1" action="mailto:asfi_m@hotmail.com" method="post" enctype="text/plain">
</form></div>
<div id="Layer3" style="position:absolute; left:160px; top:140px; width:603px; height:22px; z-index:4">
<img src="buttons/bar3.gif" width="600" height="10"> </div>
<div id="Layer5" style="position:absolute; left:0px; top:2px; width:150px; height:1046px; z-index:1; background-color: #CCCCCC; layer-background-color: #CCCCCC; border: 1px none #000000"></div>
<div id="Layer6" style="position:absolute; left:4px; top:160px; width:137px; height:37px; z-index:6"><a href="homepage.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','buttons/home2.GIF',1)"><img name="home" border="0" src="buttons/home.GIF" width="128" height="25"></a></div>
<div id="Layer7" style="position:absolute; left:4px; top:189px; width:137px; height:28px; z-index:7"><a href="profile.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('about','','buttons/about2.GIF',1)"><img name="about" border="0" src="buttons/about.GIF" width="128" height="25"></a></div>
<div id="Layer8" style="position:absolute; left:6px; top:216px; width:137px; height:28px; z-index:8"><a href="products.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('product','','buttons/products2.GIF',1)"><img name="product" border="0" src="buttons/products.GIF" width="128" height="25"></a></div>
<div id="Layer9" style="position:absolute; left:7px; top:246px; width:137px; height:28px; z-index:9"><a href="contact%20us.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact','','buttons/contact%20us2.GIF',1)"><img name="contact" border="0" src="buttons/contact%20us.gif" width="128" height="25"></a></div>
<div id="Layer10" style="position:absolute; left:7px; top:277px; width:137px; height:33px; z-index:10"><a href="inquiry.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('inquiry','','buttons/inquiry2.GIF',1)"><img name="inquiry" border="0" src="buttons/inquiry.GIF" width="128" height="25"></a></div>
<p> </p><p><br>
</p>
<p> </p>
<span id="Layer4" style="position:absolute; left:4px; top:10px; width:97px; height:87px; z-index:5"><img src="SF%20LOGO.jpg" width="97" height="87"></span>
<p> </p>
<p align="left"> </p>
</body>
</html>
asfiya
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#"
}
function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#666666" link="#0000FF" onLoad="MM_preloadImages('buttons/home2.GIF','buttons/about2.GIF','buttons/products2.GIF','buttons/contact%20us2.GIF','buttons/inquiry2.GIF')">
<div id="Layer1" style="position:absolute; left:151px; top:5px; width:618px; height:72px; z-index:2; background-color: #BCBCBC; layer-background-color: #BCBCBC; border: 1px none #000000">
<div align="center"><font face="Arial, Helvetica, sans-serif"> <font color="#0000FF"><b><font face="Arial, Helvetica, sans-serif"><font color="#0000FF"><object classid="clsid
<param name=movie value="../../../../Documents%20and%20Settings/Asfi/Desktop/new/new.swf">
<param name=quality value=high>
<embed src="../../../../Documents%20and%20Settings/Asfi/Desktop/new/new.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="500" height="87">
</embed>
</object></font></font><font size="+2" color="#999999"> </font></b></font></font></div>
</div>
<div id="Layer2" style="position:absolute; left:160px; top:156px; width:615px; height:612px; z-index:3">
<h6 align="center"><font size="+4" face="Verdana, Arial, Helvetica, sans-serif"><font size="+2" color="#666666">INQUIRY
</font></font></h6>
<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#999999"><b><font color="#666666">Please
fill in the form, so that we can look into your queries </font></b></font></p>
<form method="post" action="mailto:asfi_m@hotmail.com" name="form1" enctype="text/plain">
</form><p align="left"><b><font color="#666666"> First Name</font><font color="#999999">
</font></b>
<input type="text" name="First name" size="15" maxlength="15">
<b><font size="3" color="#666666">Middle Name</font></b>
<input type="text" name="Middle name" size="15" maxlength="15">
<font size="3"><b> Last Name</b></font>
<input type="text" name="Last name" size="17" maxlength="17">
</p>
<p><font size="3" color="#666666"><b>Company
<input type="text" name="Company" size="40" maxlength="40">
</b></font></p>
<p><b><font size="3" color="#666666"> Address
<textarea name="Address" cols="50" rows="5"></textarea>
</font></b></p>
<p><b><font size="3" color="#666666">Email
<input type="text" name="Email" size="35" maxlength="33">
</font></b><font size="3" color="#666666">(eg: yourname@hotmail.com)</font></p>
<p><b><font size="3" color="#666666">Telephone
<input type="text" name="Telephone" size="20" maxlength="20">
Fax
<input type="text" name="Fax">
</font></b></p>
<p><b><font size="3" color="#666666">Inquiry
<textarea name="Inquiry" cols="73" rows="6"></textarea>
</font></b></p>
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
<form name="form2" >
</form>
<form name="form1" method="post" action="mailto:asfi_@hotmail.com">
</form>
<form name="form1" action="mailto:asfi_m@hotmail.com" method="post" enctype="text/plain">
</form></div>
<div id="Layer3" style="position:absolute; left:160px; top:140px; width:603px; height:22px; z-index:4">
<img src="buttons/bar3.gif" width="600" height="10"> </div>
<div id="Layer5" style="position:absolute; left:0px; top:2px; width:150px; height:1046px; z-index:1; background-color: #CCCCCC; layer-background-color: #CCCCCC; border: 1px none #000000"></div>
<div id="Layer6" style="position:absolute; left:4px; top:160px; width:137px; height:37px; z-index:6"><a href="homepage.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','buttons/home2.GIF',1)"><img name="home" border="0" src="buttons/home.GIF" width="128" height="25"></a></div>
<div id="Layer7" style="position:absolute; left:4px; top:189px; width:137px; height:28px; z-index:7"><a href="profile.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('about','','buttons/about2.GIF',1)"><img name="about" border="0" src="buttons/about.GIF" width="128" height="25"></a></div>
<div id="Layer8" style="position:absolute; left:6px; top:216px; width:137px; height:28px; z-index:8"><a href="products.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('product','','buttons/products2.GIF',1)"><img name="product" border="0" src="buttons/products.GIF" width="128" height="25"></a></div>
<div id="Layer9" style="position:absolute; left:7px; top:246px; width:137px; height:28px; z-index:9"><a href="contact%20us.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact','','buttons/contact%20us2.GIF',1)"><img name="contact" border="0" src="buttons/contact%20us.gif" width="128" height="25"></a></div>
<div id="Layer10" style="position:absolute; left:7px; top:277px; width:137px; height:33px; z-index:10"><a href="inquiry.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('inquiry','','buttons/inquiry2.GIF',1)"><img name="inquiry" border="0" src="buttons/inquiry.GIF" width="128" height="25"></a></div>
<p> </p><p><br>
</p>
<p> </p>
<span id="Layer4" style="position:absolute; left:4px; top:10px; width:97px; height:87px; z-index:5"><img src="SF%20LOGO.jpg" width="97" height="87"></span>
<p> </p>
<p align="left"> </p>
</body>
</html>