I want set error validation to input field manually in controller example:
if ($remainTime < 30) { ..... set error validation in here (error: lim
Since a lot has passed since this has been answered in order to pass correct message you need to put it like this:
$this->Model->validationErrors['limitTime'] = array("time is less than 30");
Form is expecting array of error messages.