Skip to content
Advertisement

Why is my validator is not validating in Laravel?

Why is my validator is not validating the input-email field, it accepts anything!

This is my controller to update the database. The name in form is correct Edit: This is my entire code, I post here my code with just email but one guy said that is working, so why this is not working with my entire code of update database?

JavaScript

Advertisement

Answer

you must use below code after define $validator

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement