Got some problems with a checkbox.
Here's my code:
static $db = array(
'OwnerName' => 'Text',
'VehicleRegNum' => 'Text',
'Installed' => 'Boolean'
);
function getFrontendFields(){
$fields = $this->scaffoldFormFields();
return $fields;
}
This returns a checkbox for the boolean field, but there's nothing boolean about it.
The value never gets updated no matter how many times i uncheck and check the box.
Any ideas?