Combine with() and withInput() during redirection |
I have a form which after submission, i would like to redirect back with a custom message and old inputs. The code below does the redirection unfortunately it does not return with the old data.
PHP Code: return redirect()->back()->with("failed", "All fields are required!")->withInput(); Thanks |
Messages In This Thread |
Combine with() and withInput() during redirection - by coderscvoen - 06-18-2022, 05:50 AM
RE: Combine with() and withInput() during redirection - by luckmoshy - 06-18-2022, 09:13 AM
RE: Combine with() and withInput() during redirection - by coderscvoen - 08-03-2022, 11:20 AM
RE: Combine with() and withInput() during redirection - by InsiteFX - 06-18-2022, 11:56 PM
|