Website Forms
Forms are a very powerful way of gathering information and interacting with your web site's visitors. The two most common website forms used are the contact form and the newsletter form. Forms consist of two main components:
Location of Components.The form and form handler can be located in several locations. Either on your website, a remote website or a combination of the two. The diagram below show the 3 possible scenarios.
The Form handlerThis is some form of script or program whose job is to validate and extract the user data from the form and either email it to you or store the data in a database for later use. Many Hosting providers provide server based scripts that will do this. There are many third party sources of basic forms available for those whose host doesn't provide them (see below). The host must however provide support for scripts. For those whose hosts either do not support scripts or the scripts and inadequate then you can also use remote hosted forms. Remote Hosted Forms and form Handlers.In the early days of the web remote form hosting was common because not many hosts allowed the use of server side scripting and/or it was only available in the more expensive packages. Although server side scripting is commonly available remote form hosting is still used because it allows more choice. For example I use 1&1 and php scripts are supported and the package has built in forms. However the built in forms don't allow customization and don't provide a thank you page. Free form hostingIt is possible to have free form hosting but normally the forms will contain adverts. Free form hosting is only recommended for trial purposes and for hobby websites. User DataThe data entered into the form is extracted from the form by the form handler and is either emailed to you or placed into a database on the web server. Creating Your Own FormsEven though today it is usually unnecessary to create your own forms using HTML, as most good web page editors do the work for you, or you use third party forms. It is still useful to be familiar with the form structure and form elements in case you need to tweak a form or manually edit one. Therefore we will look at Creating Website Forms.
Related articles and Resources:
|
||