You get an obvious error saying that method does not exists and you ask us why it does happen ? It clearly can't find a validatePasscheck
method in your custom validator. If you would actually read the documentation http://laravel.com/docs/4.2/validation#custom-validation-rules you would know that all methods are prefixed by validate
.
zaalbarxx tks for the information and sorry for my dummy question.
Actually I don't think its a dummy question. And I think none of us appreciate zaalbarxx's tone. There is no need to make people feel stupid.
I've read http://laravel.com/docs/4.2/validation#custom-validation-rules but I think its still unclear where you put all the logic to extend the validator. I've seen several approaches, but its far from clear.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community