12-09-2019, 01:53 PM
Best,
I have made an form with some input.
When the validation is not ok then you can use
And in the form you can use "old"as value so the input field is automatic filled with the old value.
But i use model validation how can i send the errors with the return redict withinput.
I know there is another way but that is more code, i was wondering if it is possible.
André
I have made an form with some input.
When the validation is not ok then you can use
PHP Code:
return redirect()->back()->withInput();
But i use model validation how can i send the errors with the return redict withinput.
I know there is another way but that is more code, i was wondering if it is possible.
André