Sample Contact & Order Forms
I can design contact and order forms that are made in Dreamweaver or Flash. I can script the form in Perl, Javascript, or PHP. I will decide on the best scripting language based on you what you want the form to do as well as what support for scripting languages your hosting company offers.
The following is a screenshot of an order form in Flash that I created as a homework assignment. The image below is embedded into the webpage as a Flash file, so mouseover it to interact.
This is another Flash form that was used as a pop-up window for ordering portraits from a photo gallery. The image below is embedded into the webpage as a Flash file, so mouseover it to interact.
This is a screenshot of an online registration form for a dance studio. This form is particularly long, but it illustrates how forms can be used to collect as much information as you like. In this case the website owner is also using the form to collect emergency contact information for minors enrolling in classes and as a legal waiver of liability notice for those enrolling online. This form did not need to be scripted because the siteowner's hosting company provides automatic CGI scripting for forms. All I had to do to script it was cut and paste a snippet of code that I obtained from the documentation provided by her hosting company into the form element.
This is a screenshot of a feedback form used for buyers to rate the quality of merchandise, parcel packaging, shipping speed, and customer service that they received from my online resale shop. My hosting company does not offer automatic form scripting, so I write my own scripts in Perl or PHP. This Perl-based script collects visitor feedback, appends the form data to a text file, and redirects the the visitor to a custom static HTML thank you page. You will find more forms that use Perl scripts on this page.
This form does not validate entries (it will let a blank form go through), because I preferred some feedback over none at all should a visitor not want to complete the entire form. However you can choose to require a range of validation options from simply requiring an entry in any or all fields to requiring entries that are valid for the type of data. If you want complex validation then I recommend that the validation be scripted with Javascript or PHP rather than Perl. If you click on the image below, a new window will open that contains a working version on this form.
You can also create contacts forms that are created completely in PHP, or in a mixture of PHP and HTML. I will be adding some samples of PHP based forms to this page soon. PHP is a wonderful language!