June 2002
Beginner
759 pages
80h 42m
English
checkbox
$query->checkbox('name' [,'checked','value','label'])
Generates a single checkbox.
nameThe name to assign the input to (required).
checkedCheckbox should be checked initially.
valueThe value to return when checked (default is on).
labelThe label to use for the checkbox (default is the name of the checkbox). Using named parameters, the syntax is:
print $query->checkbox(-name=>'name', -checked=>'checked', -value=>'value', -label=>'label', -onClick=>function);
-onClick=>
functionBrowser should execute
function when the user
clicks on any checkbox in the group