Support the ongoing development of →
Requests Forms Validation
Last updated 2 years ago.

Isn't that supposed to be your edit page? You're in the update method, so I'm guessing that is because of a form being submitted, hence the redirect using back() seems fine to me?

Last updated 6 years ago.

Your code seems fine return redirect()->back()->withErrors($validator)->withInput();. Post information if you facing any issue.

Last updated 6 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.