jmCheckBox
The jmCheckBox function is used to create a checkbox form element in a Jamroom Control Panel form.
form.tpl element name: form_checkbox
bool
jmCheckBox
(string $text, string $name, string $help, [bool $checked = false], [array $_actions = false])
-
string
$text: Title for form field - i.e. the string to the left in the Control Panel
-
string
$name: Form field "name" value
-
string
$help: Help Text for the form field
-
bool
$checked: Set to true if checkbox should be checked when the form loads
-
array
$_actions: Additional form elements ("actions") that will appear below the input form field
|