Validated Entry Field Example

Unlike a standard HTML form, this page shows a simple applet that does form validation. Think of it as a sort of HTML Form-like construct that contains some intelligence about the value of its fields.

Enter your name, age, and optionally, your organization into the form below. Your name and age are required. You age must be an integer. The click on the Validate button to see if the fields have valid values. Any invalid fields will show up in reverse video. You must fix all invalid fields before you can `send' the document. Then click on Send to communicate these values to a standard CGI script running on a standard HTTP server.

Here is the source for the applet and the source for the CGI script. Hey! Quit laughing!

(applet)