idTop
string id
Get the id of checkbox object.
Show/Hide Code
<?php
$chkAgree = $myform_mananger->AddControl(new KoolCheckBox("chkAgree"));
echo $chkAgree->id;// The output is "chkAgree".
?>
Supported from version: 1.0.0.0
SelectedTop
bool Selected
Get or set the value of checkbox. This variable will reflect the selection of checkbox.
Default value : false
Show/Hide Code
<?php
$chkAgree = $myform_mananger->AddControl(new KoolCheckBox("chkAgree"));
$chkAgree->Text = "I agree with the term and condition.";
$chkAgree->Selected = false;
?>
Supported from version: 1.0.0.0
TextTop
string Text
Set the text that goes with checkbox.
Show/Hide Code
<?php
$chkAgree = $myform_mananger->AddControl(new KoolCheckBox("chkAgree"));
$chkAgree->Text = "I agree with the term and condition.";
?>
Supported from version: 1.0.0.0