Support the ongoing development of Laravel.io →
Requests Forms Validation
Last updated 1 year ago.
0

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.
0

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

Last updated 6 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.