JavaScript

Javascript

source of Javascript


CGI

Perl

source of html part of cgi
source of the Perl part of cgi
input routines for Perl
log of Perl


So, you want to try this?

Step by step
if you want the program to log the input you must change the permissions on the file so it can write and setup a file and give it permissions so that it can receive input. Then just add this at the bottom of the Perl script.

open (LOG, ">>add.log"); print LOG "$number1 + $number2 = $total\n"; close (LOG);
Want to see more with forms? look at this form suggestions2.html

This form looks uses text boxes, checkboxes, radio buttons, selection list and text area to gather data. There is a cgi script suggest.pl that has some checks.

it records the information into two separate files. One file has all of the values for the short answers like (name, class, degree, gender, height, pen, pencil, stapler) into a tab delimited file. This file can be downloaded and imported into excel to extract pertinent information. It also records the date and time of the submission as well as the IP and DNS entry of the machine submitting the entry.

It also records all of the suggestions that were entered into a separate file. This separates the long narrative files from the "data" file. The information

5079