How to create an e-mail form
The code to create this is in the table below.
<form method="post" enctype="text/plain" action="mailto:emailaddy@youwanttheformtogoto.com">
<table cellpadding="10" cellspacing="0" border="0"><tr><td>
Put you own instructions to the visitor here:<br><br>
<input type="radio" name="Rate" value="1" checked style="border:0px;">1
<input type="radio" name="Rate" value="2" style="border:0px;">2
<input type="radio" name="Rate" value="3" style="border:0px;">3
<br><br>
Put you own instructions to the visitor here:<br><br>
<input type="checkbox" name="Pictures" value="yes" checked style="border:0px;">Pictures<br>
<input type="checkbox" name="Interviews" value="yes" style="border:0px;">Interviews<br>
<input type="checkbox" name="Games" value="yes" style="border:0px;">Games<br>
<br>
Put you own instructions to the visitor here:<br>
<textarea cols="40" rows="4" name="Comments">Type Your Comments Here.</textarea><br><br> <input type="submit" name="submit" Value="Submit Form"> <input type="reset" name="reset" value="Reset Form"> </td>
</tr>
</table>
</form> |
Now to break it down. The code that produces the radio button is this:
| <input type="radio" name="Rate" value="1" checked style="border:0px;">1 |
The parts in bold should be the same. The value in bold will also be the text by the radio button. You can change this to be whatever you want. You can have as many radio buttons as you want, just repeat that piece of code, changing the values in bold. The same is to be done for the check box:
| <input type="checkbox" name="Pictures" value="yes" checked style="border:0px;">Pictures |
The blank box, or "text area", is done in a different format:
| <textarea cols="40" rows="4" name="Comments">Type Your Comments Here.</textarea> |
The bold elements are what can be changed to your liking, change the figures to adjust the size of the box, and the bold words can be changed to whatever you wish, they will appear in the text box, the visitor will be able to delete them and type over them.
|