Welcome Guest, Not a member yet? Register   Sign In
redirect with input
#1

Best,

I have made an form with some input.
When the validation is not ok then you can use
PHP Code:
return redirect()->back()->withInput(); 
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é
Reply


Messages In This Thread
redirect with input - by snelledre - 12-09-2019, 01:53 PM
RE: redirect with input - by InsiteFX - 12-10-2019, 09:04 AM
RE: redirect with input - by snelledre - 12-11-2019, 10:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB