In laravel validator to withdraw for the 1st field and the same rules are 2 different errors?

0 like 0 dislike
20 views
There is a field email during the registration and authorization
but check the rule required I want to get
The E-mail field mandatory at registration, and authorization
The E-mail field mandatory with authorization
that's all you need to take from a file validation
As for two different cases with the same name of the field to take a different message?
asked by | 20 views

2 Answers

0 like 0 dislike
No way, you need hostility either in the template or pass the text hands in the validator.
answered by
0 like 0 dislike
To establish for authorization and registration of your Request rules https://laravel.com/docs/5.7/validation#creating-f...
answered by

Related questions

0 like 0 dislike
5 answers
asked Oct 20, 2018 by NikHaker
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Nov 20, 2018 by Morfeey
24,509 questions
45,932 answers
0 comments
346 users