Welcome Guest, Not a member yet? Register   Sign In
Form Validation : Return Current View
#3

(This post was last modified: 06-23-2022, 01:13 AM by ikesela.)

better if return to where it from and show error (include input).

Code:
return redirect()->back()->withInput()->with('errors', service('validation')->getErrors());
Reply


Messages In This Thread
RE: Form Validation : Return Current View - by ikesela - 06-23-2022, 01:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB