ok I feel stupid again... could some one either help or show me where to figure out how to make a contact form that gets sent to an email, without using php or cgi... -_-
contact form
I don't think it is possible without using a server-side scripting language. Simple HTML will not do it, for sure. And I don't think Javascript will do either. But it is quite simple in PHP using the mail() function. But on some servers it is disabled. I'm not sure about Frihost...
You can assign the mailto: address to the action attribute of the form element as shown below. Please note on the enctype attribute as well.
It may or may not work in some browsers.
| Code: |
| <form action="mailto:you@example.com" method="post" enctype="text/plain"> |
It may or may not work in some browsers.
Use something like this:
HTML>
<TITLE> Form with feedback</TITLE>
<BODY>
<H2>Contact < Your Title></H2>
<P>For more details of our services please complete this form
<FORM METHOD = Post ACTION =mailto:you@youremail.co.uk>
<P>E-Mail: <INPUT TYPE = text NAME=email SIZE=30>
<P>Real name and address:
<BR><TEXTAREA NAME= Address ROWS=4 COLS =40>
</TEXTAREA>
<INPUT TYPE = Submit VALUE="Send">
<INPUT TYPE= Reset Value="Clear the Form">
</form>
</html>
When you receive any replies they will be seperated by '+'
Hope that helps
Pete
HTML>
<TITLE> Form with feedback</TITLE>
<BODY>
<H2>Contact < Your Title></H2>
<P>For more details of our services please complete this form
<FORM METHOD = Post ACTION =mailto:you@youremail.co.uk>
<P>E-Mail: <INPUT TYPE = text NAME=email SIZE=30>
<P>Real name and address:
<BR><TEXTAREA NAME= Address ROWS=4 COLS =40>
</TEXTAREA>
<INPUT TYPE = Submit VALUE="Send">
<INPUT TYPE= Reset Value="Clear the Form">
</form>
</html>
When you receive any replies they will be seperated by '+'
Hope that helps
Pete
