P
P
Programmir2017-03-28 20:34:42
Laravel
Programmir, 2017-03-28 20:34:42

How to solve the problem with $errors?

In Laravel 5.4, I have a registration form and a login form on the same page. Well, errors related to email and password are displayed on two forms. How to separate $errors output for registration and for login?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2017-03-28
@D3lphi

Alternatively, you can put errors in the flash session, in different arrays.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question