There are a lot of ways to approach this. I'll share three..
Change field names so they are unique and remap in controller before saving
Move the errors to the top of the form and pass a variable that tells you which form was submitted and in blade use an if to show only on the correct form
Keep your existing double form page but also create a seperate login screen page. If validation fails for login call separate login screen .. keep reg process the same.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community