Hi, I have a "active" field in my database and I have a search form with this field, like this:
<?php echo $this->tag->checkField(["active", "class" => "form-control", "id" => "fieldActivo"]) ?>
In my controller I get this with:
$this->request->getPost("active")
When I check this in my controller I recived ON instead 1 and I do not know why. My type field in database is TINYINT(1) and I tried with INT(1) with the same result.
Any idea?
Thx!