I want set error validation to input field manually in controller example:
if ($remainTime < 30) { ..... set error validation in here (error: lim
This can be achieved using the invalidate method that will flag the field as having an error:-
$this->Model->invalidate('field_name', 'error message');