 |
The
easiest way is to register for a free account at Allforms
in order to be able to make changes to your form in the future
(use the bottom link on the right of their page). Fill in the
requested information for your form. If you choose to specify
required fields or fields to display in a specific order in the
email you receive, be sure to name the fields exactly as follows:
"name", "email", and "comments", all
lowercase, because that's how they are named in the form code
below. Click the button to generate your custom code. Copy and
paste the single line of code given to you at the beginning of a
standard email form. This single line of code will look like this:
<form method="POST"
action="http://free.allforms.mailjol.net/u/XXXXXX.php">
I'm giving you the code for a standard email
form below with fields for "name", "email" and
"comments" only. If you'd like to add additional form
fields, you can use this Free
Form Field Generator.
Code for a
standard email form:
Copy the code in the box below and paste into Wordpad or Notepad.
Paste the single line of code given to you by Allforms at the very
beginning of the form to make it functional. Then just copy and
paste into your page HTML exactly where you'd like your form to
appear.
<table
border="0" cellpadding="0"
cellspacing="4"
width="100%"><tr><td
width="10%" valign="top"
align="left">
Name: </td><td width="90%"
valign="top" align="left"><input
type="text" name="name"
size="23"></td></tr><tr><td
width="10%" valign="top"
align="left">Email: </td><td
width="90%" valign="top"
align="left"><input type="text"
name="email"
size="23"></td></tr><tr><td
width="10%" valign="top"
align="left">Comments:</td><td
width="90%" valign="top"
align="left">
<textarea rows="5" name="comments"
cols="17"></textarea></td></tr><tr><td
width="100%" colspan="2"
valign="middle"
align="center"><input
type="submit" value="Submit"
name="B1"></td></tr>
</table></form> |
Remember to create your "thank you" and
"error" pages at your site if you designated these pages
during your form setup at Allforms!
|