Forms allow users to enter data which is then sent
back to the server.
type = text | password | checkbox | file | hidden |
submit | reset | image
Only one of several related options can be selected
All buttons in a group must have the same name
The key word CHECKED indicates the default value
Displays only a round radio button without any text
Send data to the server
target (optional) names a window or frame
Clears all the input fields to their default values
Text entry box
Allows the user to type a single string Maxlength characters long
Select a file to send to the server
This returns a file in the specified MIME format
There is a Browse button
This appears to be a major security hole
Forms-based file upload requires special server-side support (i.e. dll).
It also requires a special form parameter which makes all the form fields
invisible to IIS 4.0 unless you activate a special dll on the server.
There are several possible dlls: the better ones cost,
the free MS dll requires you to save the file data to a disk
and then open it to use it.
(Talk about user un-friendly.)
For more info, see
Advancing ASP: File Uploading, the
Microsoft Knowledge Base, and the
Microsoft Web Workshop.
Multiple rows of text Warning: Netscape 4.05 and IE 4.72 implement this differently!
With Netscape 4.05,
in order to force the data to wrap, you must include
(one reference says wrap=virtual)
which is not part of
HTML 3.2 or
Field with a down arrow which lets the users select an item from a list
xx.cgi.txt - Generates a 403 Forbidden error
xx_cgi.txt - Displays as a text file in Netscape 4.75
but as an html page (ie, it is worthless) using IE 5.0.
Just right click and select View Source to see the code.