Petrolhead
Technical User
- Mar 13, 2009
- 27
Hi there,
I'm creating a contact form for my website.
I have designed the form, but I'm not sure how to go about getting it to process the information and send it to me.
I guess I need to add some sort of script to the thank you page??
Can anyone help?
I'm creating a contact form for my website.
I have designed the form, but I'm not sure how to go about getting it to process the information and send it to me.
I guess I need to add some sort of script to the thank you page??
Can anyone help?
Code:
<div id="content">
<!-- Begin Main Page Content -->
<!-- main content section -->
<h1>
Contact
</h1>
<form method="POST" action="contact-info-thank-you.htm">
<table width="90%" cellspacing=5 cellpadding=5>
<tr>
<td align=left><b>Your name</b><br>
<input type="text" name="name" size=30 maxlength=50 id="name"></td>
</tr>
<tr>
<td align=left><b>Your email address</b><br>
<input type="text" name="email" size=30 maxlength=255 id="email"></td>
</tr>
<tr>
<td align=left><b>Message type</b><br>
<select name="subject" id="subject">
<option value="Comment" selected>Feedback
<option value="Suggestion">Suggestion
<option value="Problem or typo">Problem or typo report
<option value="Other">Other
</select>
</td></tr>
<tr>
<td align=left><b>Your message</b><br>
<textarea cols="50" rows="5" name="Message"></textarea></td>
</tr>
<tr><td align=center colspan=2><input type="Submit" value="Submit Message"></td></tr>
</table>
</form>
<br>
</div> <!-- content -->
Code:
<div id="content">
<!-- Begin Main Page Content -->
<!-- main content section -->
<h1>
Thank You!
</h1>
<p>
Thank you for contacting me. All messages are read, and I will reply to you as soon as possible.
</p>
</div> <!-- content -->