Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
In laravel validator to withdraw for the 1st field and the same rules are 2 different errors? - bug-code.com Q&A

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

0 like 0 dislike
40 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 | 40 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
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.3k users

24,788 questions
46,220 answers
0 comments
12,337 users