CPSCI 107: Applications, Implications, and Issues
Lab 8
March 8, 2006
Preliminaries
-
Log in to your account on warp
and make public_html/eg your working directory.
-
Copy the file form-test.html from
the directory /home/public/web-authoring to your working directory:
cp /home/public/web-authoring/form-test.html .
-
Open your warp homepage in your
favorite browser; modify the
URL
in the address bar to open the
file you just copied into your webspace.
-
Enter the requested information and click on the appropriate
button to submit the form for processing. The browser should load
a web page displaying a table of what it could read from your form.
If it doesn't, call me over and we'll figure out what the problem is.
-
Go back to the webpage containing the form and clear it,
using the button at the bottom of the page. Submit the
empty form. Note any differences in the table displayed
in response to your form.
Forms
The primary purpose of the form-test.html file
is to give you the URL
of the CGI program that
we'll be using to process the forms we'll be making in class.
Today we'll discuss:
- the action and method attributes of the form element
- the difference between the name and id attributes of the input element
- the label element
- textbox, radio button, and submit/reset controls
[ Return to the CPSCI 107 homepage ]
Brian J. Rosmaita <contact me>
This page was last modified Wednesday, 8 March 2006 at 04:30 UTC.