HTML_QuickForm
[ class tree: HTML_QuickForm ] [ index: HTML_QuickForm ] [ all elements ]

File: advcheckbox.php

Source Location: /HTML_QuickForm-2.7/QuickForm/advcheckbox.php

Classes:

HTML_QuickForm_advcheckbox
* HTML class for an advanced checkbox type field * * Basically this fixes a problem that HTML has had * where checkboxes can only pass a single value (the * value of the checkbox when checked). A value for when * the checkbox is not checked cannot be passed, and * furthermore the checkbox variable doesn't even exist if * the checkbox was submitted unchecked. * * It works by creating a hidden field with the passed-in name * and creating the checkbox with no name, but with a javascript * onclick which sets the value of the hidden field. * * @author Jason Rust <jrust@php.net> * @since 2.0 * @access public

Page Details:

Includes:

require_once('HTML/QuickForm/checkbox.php') [line 1]

Documentation generated on Fri, 30 Apr 2004 22:21:35 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.