How to add Feedback survey, Feedback forms, To Your Web Site, Sending, Using Mailto Email
71How to write simple Effective Forms
I am going to show you the basic code for a Web Page with a Feedback Form that can be added to any Web Site. After the visitor has filled in the details all they have to do is to press the Submit Button and an Email with all the information will be sent back to the owner of the Web Site. This is simple and doesn't require any fancy extra's or add on's. It is basic HTML code.
You can download a Zip file of the HTML file Here. Or you can cut and paste the text below into NotePad and save the file with a html extension. (If you use NotePad you will have to choose 'Save As' then instead of the .txt option choose 'All Files' then type in the filename with .html. eg: myform.html).
Here is the code below:
<HTML>
<HEAD>
<TITLE>INFORMATION FORM</TITLE>
<BODY>
<p>INFORMATION FORM</p>
<form enctype="text/plain" ACTION="mailto:name@yoururl.com?subject=Information Form"
METHOD="POST"> <P>
<span class="style1">Full Name.....</span>
<INPUT TYPE=text NAME="name" SIZE="100"></P>
<P> Address........
<INPUT TYPE=text NAME="address" SIZE="100"></P>
<P> Suburb..........
<INPUT TYPE=text NAME="suburb" SIZE="100"></P>
<P> Country.........
<INPUT TYPE=text NAME="country" SIZE="100"></P>
<P> Post Code.....
<INPUT TYPE=text NAME="postcode" SIZE="10"></P>
<P> Email............
<INPUT TYPE=text NAME="email" SIZE="60"></P>
<P> Phone...........
<INPUT TYPE=text NAME="phone" SIZE="50">
</P>
<P> Comments.... </span>
<TEXTAREA NAME="comments"></TEXTAREA>
</P>
<INPUT TYPE=submit VALUE="submit"><INPUT TYPE=reset VALUE="reset">
</FORM>
</BODY>
</HTML>
All you will have to do is to change the details in line 6 name@yoururl.com to your email or the email where you want the information to go to and that's it.
You can then open your favourite HTML editor and add colors, backgrounds etc. If you are not sure which editor to use read my Hub on Templates and Komposer.
Cheers - Hope this Helps.
PrintShare it! — Rate it: up down flag this hub









