Re: R: validation

2007-05-31 Thread cake_learner
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

R: validation

2007-05-31 Thread m.sbragi
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