Validation rule - confirmed
Hi.
I'm currently working on a website using laraval framework, and while I was working on user sign up page, I faced a little problem.
I used following rule for validating password and confirm password field; array('password'=>'required|confirmed','password_confirmation'=>'required')
The problem is when user enters different password in "password" and "password_confirmation" field, I get an error for the "password" field.
What I want to do is get the confirmation error from the "password_confirmation" field.
I don't think this is a bug or issue.
I just want to know whether there would be tricks or something.
Andriy
I can't really think of a work around off the top of my head. Someone in the Laravel.IO forums might know.