Support the ongoing development of Laravel.io →
posted 9 years ago
IOC Validation
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

zaalbarxx tks for the information and sorry for my dummy question.

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

nacr nacr Joined 22 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.