Next / Previous / Contents / TCC Help System / NM Tech homepage

Table of Contents

1. Introduction to Web forms
1.1. How to get this publication
2. Form elements
3. Text fields
4. Password fields
5. Checkboxes
6. Radiobuttons
7. The submit button
8. The reset button
9. Pull-down menus
10. Scrolling menus
11. Multi-line text areas
12. Image maps
13. Relevant URLs

1. Introduction to Web forms

Unlike most HTML work, using a fill-out form requires programming: you must write a downstream CGI script to process the data from the form. This means that you must either be a programmer, or hire one. The programming can be done in any language that can evaluate environmental variables, and the programmer must understand how CGI scripts work (see the section Relevant URLs, below).

The interface between a form and the CGI script that handles the form is conceptually simple. When the user clicks on the Submit button on a Web form, the associated CGI script starts running, and receives the contents of the form as a set of (name, value) pairs. Each name designates one of the elements on the form, and the corresponding value describes what value the user has selected for that form element.

Forms design itself does not require programming, but the forms designer must coordinate with the script programmer on the exact set of names, and what the values mean.

1.1. How to get this publication

This publication is available in Web form and also as a PDF document. Please forward any comments to tcc-doc@nmt.edu.