email address

windows

Guest
how do i send a form to an email address without using server side scripting?? can i use either html or javascript. here is the scripting i have:<br />
<br />
<SCRIPT LANGUAGE="javascript"><br />
<!--<br />
<br />
function check() {<br />
c=document.quotes;<br />
if(c.name.value==""){<br />
alert("You must enter your name!");<br />
c.name.focus();<br />
return false;<br />
} else if(c.email.value==""){<br />
alert("You must enter your email address!");<br />
c.email.focus();<br />
return false;<br />
} else if(c.phone.value==""){<br />
alert("You must fill in your phone number!");<br />
c.phone.focus();<br />
return false;<br />
} else {<br />
alert("Your information has been submitted!");<br />
return true;<br />
}<br />
}<br />
//--><br />
</SCRIPT><br />
<br />
</head><br />
<br />
<br />
<body><br />
<br />
<br><br />
<br><br />
<br />
<!--Start of form--><br />
<br />
<form name="quotes" ><br />
<br />
<center><br />
<br />
<!--Table 1--><br />
<br />
<table width="75%"><br />
<br />
<tr><br />
<td>Contact Name:<br />
<td><input type="text" id="name" size="23" > * <br />
</tr><br />
<br />
<tr><br />
<td>Company Name:<br />
<td><input type="text" id="company" size="23" > <br />
</tr><br />
<br />
<tr><br />
<td>Email Address:<br />
<td><input type="text" id="email" size="23" /> *<br />
<br />
</tr><br />
<br />
<tr><br />
<td>Phone Number:<br />
<td><input type="text" id="phone" size="23" /> * <br />
</tr><br />
<br />
<tr><br />
<td>Fax Number:<br />
<td><input type="text" id="fax" size="23" /><br />
</tr><br />
<br />
<tr><br />
<td>Colours Available:<br />
<td><select id="colour"><br />
<option>Capricorn Buff</option><br />
<option>Federation Buff</option><br />
<option>Heritage Pink</option><br />
<option>Brown/Yellow Banded</option><br />
<option>Capricorn Sunset</option><br />
</select><br />
</tr> <br />
<br />
<tr><br />
<td>Material Type:<br />
<td><select id="materials"><br />
<option>Blocks</option><br />
<option>Slab</option><br />
<option>Bricks</option><br />
<br />
</tr><br />
<br />
</table><br />
<br />
<br />
<br />
<!--End of table 1--><br />
<br />
</center><br />
<br />
<br><br />
<br><br />
<br />
<center><br />
<br />
<input type="submit" value="Submit" name="quotes" onClick="return check()"><br />
<br />
</center><br />
<br />
<br />
</form><!--content-->change your form tag to:<br />
<br />
<form name="quotes" method="post" enctype="text/plain" action="mailto:[email protected]"><!--content-->Doesn't it also depend on your email? I have never done it without asp.net or cgi. Isn't there a way to make an email driven form? Or is that what you are talking about now? Because I have seen a error message saying this form is email driven blah blah blah<!--content-->
 
Back
Top