Code Library - js
MailForm - (1617 views)
<!--
A basic e-mail form
Find a cgi or php script to work with this and direct the action="" through the script
you can use just javascript but people can see your e-mail in the source so it defeats half the object of having a form
-->
<form name="mail" method="post" action="yourscript.cgi">
<p>Your Name:<br><input type="text" name="from" size="46"></p>
<p>Your email address:<br><input type="text" name="mailfrom" size="46"></p>
<p>Subject:<br><input type="text" name="subject" size="46"></p>
<p>Your Message:<br>
<textarea name="content" rows="10" cols="50"></textarea>
</p>
<p><input type="submit" name="submit" value="submit">
<input type="reset" name="reset" value="reset"></p>
<p><input type="hidden" name="destination" value="..\"></p>
<p> </p>
</form>