CGS 3175 Assignment 6

This assignment requires that you incorporate a form on your web site. You must post a page to your web site containing a functioning form. It is your choice to add the form to an existing page or to add a new page to your sitespecifically for this assignment.

The form that you will install on your web site interacts with a "do-nothing" software program that simply echoes the form's input back to you. Even though the form doesn't do anything very useful, it should give you an understanding of how all forms work on any web site you may visit or build in the future. Forms are used in HTML documents to allow a human to provide input to software that interfaces with the HTML document. The software may be a script inside the current web page. Often, as is the case in this assignment, the software activated by the form is on a completely different machine than the one the web page is being displayed upon. Your machine communicates with the remote software using a "common gateway interface" or "cgi" interface. These cgi programs can be used for almost any purpose, but the most common use is to allow the viewer of a web page to provide feedback to the page designer or to purchase products. One language commonly used to write the cgi programs is Perl. The ability to tie general purpose software to your web page is very powerful. If you are interested in learning more simply search the web for "cgi programming", "cgi interfaces", and "Perl scripts."

Your form must contain at least 5 of the following input "widgets."

Your form must interface with the software located at this URL:
http://eola.cs.ucf.edu/~snilpani/showform.php
You can interface with the above program by using the "action=" parameter of the form tag. Look at the examples in your HTML book, online, or even in the source code of this page.

A sample form is provided below (view the source for this page to see the HTML code for it):

This is a set of checkboxes. Select colors you enjoy:
Black Blue Yellow Orange Red

These are radio buttons. Now select your favorite color of those listed:
Black Blue Yellow Orange Red

Type something in here:

This is a generic button, used to initiate scripts or other software:
This button provides a useful message:
This submit button causes the forms action to be performed: