¦ HOME ¦

Interactive Form Demonstration

The use of CGI scripts adds much usefulness to a Web site by supporting a number of interactive functions that are of value to both the visitor and the presenter. These functions include forms to gather information from the user, clickable image maps, and data base support.

The form below uses the Common Gateway Interface (CGI) to send the data you enter along to our host server when you click the SUBMIT button. The server passes the data to a CGI script in the form of "NAME = VALUE" variables. The CGI script is an executable program, written in Perl, that will perform the function of adding the data into a data base that resides on the server. The data may then be reviewed for appropriate action.

Try submitting the form without filling in the necessary contact information and see what happens. You will see an example of how CGI can interactively generate an appropriate HTML page "on the fly," the content of which is based on the completeness of the variables entered by the user. A Perl script can also execute other programs hosted by the server operating system to perform additional tasks, such as a data base look-up. Click here to see the Perl code that executes the following form.

Interactive Form

This form simulates gathering the information that is necessary for a follow-up contact. You may choose the method of the follow-up, either by phone or email. The data does not have to be true to fact because this is just for demonstration purposes. If you wish to contact us please email, phone or fax us.


The Form

In order for us to contact you please enter your first and last name, and either your phone number, or email address.

First Name
Last Name

Phone Number:

Email Address:

Now enter some data for the program to play with:

How did you hear about Tom Rivelli Associates?


How often do you use a computer?

HoursMinutesDailyWeeklyMonthly


Click one of these buttons to either send this information, or start over: