Freeman
10-04-2005, 04:18 PM
Here is a form that i wrote. Im pretty sure that my scripting is correct but no guarentees. With the button for submitting I would like to have it mail directly to my E-mail address by clicking on the submit button and nothing else. I would also like to know what page they would get after they clicked the submit button. Thanks for the help. JF
<html>
<body>
<hr color="003466">
<form name="reg" action="mailto:E-mail" method="post" encrypt="text/plain">
<!--e-mail address of the recipient -->
<input type="hidden" name="email" value="E-mail">
<table with="100%">
<tr>
<td width="100">
First Name
</td>
<td>
<input type="text" name="fname" id="fname" size="30">
Last Name
<input type="text" name="lname" id="lname" size="30">
</td>
</tr>
<table width="100%">
<tr>
<td width="100" valign="top">
<label for="comments">Questions or Comments</label>
</td>
<td valign="top">
<textarea name="comments" id="comments" rows="6" cols="50" wrap="hard">
</textarea>
</td>
</tr>
<tr>
<td width="100">
E-mail Address
</td>
<td>
<input type="text name="e-mailaddress" id="e-mailaddress">
<!-- Buttons -->
<tr>
<td valign="top" colspan="2" align="center">
<input type="submit" value="Send">
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
<hr color="003466">
</body>
</html>
<html>
<body>
<hr color="003466">
<form name="reg" action="mailto:E-mail" method="post" encrypt="text/plain">
<!--e-mail address of the recipient -->
<input type="hidden" name="email" value="E-mail">
<table with="100%">
<tr>
<td width="100">
First Name
</td>
<td>
<input type="text" name="fname" id="fname" size="30">
Last Name
<input type="text" name="lname" id="lname" size="30">
</td>
</tr>
<table width="100%">
<tr>
<td width="100" valign="top">
<label for="comments">Questions or Comments</label>
</td>
<td valign="top">
<textarea name="comments" id="comments" rows="6" cols="50" wrap="hard">
</textarea>
</td>
</tr>
<tr>
<td width="100">
E-mail Address
</td>
<td>
<input type="text name="e-mailaddress" id="e-mailaddress">
<!-- Buttons -->
<tr>
<td valign="top" colspan="2" align="center">
<input type="submit" value="Send">
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
<hr color="003466">
</body>
</html>