I changed the code. Its working (Showing validation error message for
password and confirm_password.)
code:
controller:
function index()
{
if(!empty($this->data['Client'])) {
if($this->Client->isConfirm('password', $this->data['Client']
['password'],$this->data['Clie
What do you mean with doesn't work.
For All: "Be more exhausting when you place a question"
It could be this.
if(($this->data['Client']['password'])!=($this->data['Client']['confirm_pass
word'])) {
$this->Client->invalidate('confirm_password');
return;
}
> -Messaggio or