Ford & Mason Ltd
HOME
ABOUT
CONTACT
RESOURCES
ADVERTISING



donations support the development of
cronolog.org
and
refcards.com

next up previous contents index
Next: Selection fields Up: Defining fields Previous: Radio buttons


Check boxes

Check boxes are groups of related option buttons, of which any number may be selected simultaneously, for example:

  <INPUT TYPE="checkbox" NAME="cb" VALUE=1>1
  <INPUT TYPE="checkbox" NAME="cb" VALUE=2 CHECKED>2
  <INPUT TYPE="checkbox" NAME="cb" VALUE=3>3
  <INPUT TYPE="checkbox" NAME="cb" VALUE=4>4
  <INPUT TYPE="checkbox" NAME="cb" VALUE=5 CHECKED>5

Each INPUT element where TYPE="checkbox" defines a separate check box button. The VALUE attribute must be specified to give a value for the button. Data is sent to the server for each selected CHECKBOX field.


[ITCP]Spinning the Web by Andrew Ford
© 1995 International Thomson Publishing
© 2002 Andrew Ford and Ford & Mason Ltd
Note: this HTML document was generated in December 1994 directly from the LaTeX source files using LaTeX2HTML. It was formatted into our standard page layout using the Template Toolkit. The document is mainly of historical interest as obviously many of the sites mentioned have long since disappeared.

 
Copyright © 1996-2002 Ford & Mason Ltd