Creating a form for your Web site:

View the source of this page to learn how to do the "plumbing" of a form. The top section gives the <form action> and <input type> The bottom section gives the <submit> and <reset>. (reset is optional.)

The script parses the form and sends an email with the form's contents to you. Note that the sample thank you page just says "Thank you for submitting your form." You will need to tailor this to your form's purpose, such as "Thank you for contacting [name of site]." or "Thank you for your order." You could even add your logo.


Form content goes here.

For example, here are two text fields that are both required. (View source to see that for the "hidden" input of "required," each required item would be separated by commas.)

First name

Last name