Default Site Templates Project
A form on a website is similar in concept to a form on paper, except that you create it online and use it to interact with and/or gather information from website visitors.
Typically, your site visitors enter information into form fields and indicate their preferences by clicking option buttons, check boxes, and drop-down boxes. Site visitors can also type comments into text boxes or text areas. One of the most common forms you will find is a Contact Form so your site visitor can contact you.
A sample contact form has been included with each of the templates. It is NOT active and will need to be modified to suit YOUR form processing script and your information.
Before your form will work, you will need to add scripting instructions to it. You have a number of options on what you can use. Depending on your host's server requirements there are two free solutions for PHP and ASP.NET
Huggins' Email Form Script - A Free PHP Email Script that Doesn't Require You to Know Anything At All About PHP.
Contact Form Generator for Expression Web - A free, online tool that will generate an email contact form, including the back-end VB ASP.NET code, HTML form fields, field validators, a customizable confirmation message, a basic security test to minimize form SPAM, and more. No programming knowledge is required.
The important attributes for the form tag are action and method.
Action specifies where to send the form-data when a form is submitted. Possible values are:
Method specifies how to send the form-data to the page specified in the action attribute. Values are either "get" or "post" but NOT both.