why this is not calling
in model rules
[start_date,validedate]
public function validdate($attribute,$param){
$this->addError($attribute, ‘Incorrect username or password.’);
}
why this is not calling
in model rules
[start_date,validedate]
public function validdate($attribute,$param){
$this->addError($attribute, ‘Incorrect username or password.’);
}
You spelt the name of the function wrong:
validedate
validdate