Function geoCheckbox
Create an HTML checkbox.
Package: Geolib
License: Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
Author: Peter Pitchford peter@geotonics.com
Located at geoFunctions.php
License: Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
Author: Peter Pitchford peter@geotonics.com
Located at geoFunctions.php
string |
$name |
Name of value retured by this field |
string |
$text = null |
Checkbox text |
boolean |
$isChecked = null |
Indicates that this box is checked |
string |
$id = null |
Id attribute. To add labels to the text, you must add $id |
string |
$trueOrFalse = null |
<p>Indicates type of return value Use 't' or 'f', in which cases checkbox value will return 't' or 'f' instead of true or null If 'f' is used, checkbox will reverse true for false. When using checkbox arrays (as in checkboxName[]), use $trueOrFalse for the value</p> |
string |
& $extLabel = null |
<p>External label. To create an unattached label, pass a true variable as $extlabel and then use $extLabel as the label</p> |
string |
$class = null |
Class attribute |
string
|
HTML checkbox |