If the validation passes, our controller will continue executing normally.
The latest patch, file_validation_error_message-1792032-5.patch, worked for me in correcting the error message bug in the latest version of drupal 8 as of March 6, 2013. I needed the patch in 7 and I was in a hurry in the middle of a project.
The file input type should accept only images with .jpeg, & extension & file size should not be greater than 1MB.
Validation for other input fields work without any issues.
To learn about Laravel's powerful validation features, let's look at a complete example of validating a form and displaying the error messages back to the user.
First, let's assume we have the following routes defined in our method accepts an incoming HTTP request and a set of validation rules.