Welcome Guest, Not a member yet? Register   Sign In
Ajax and ci4 validation
#5

Don't use redirect.
PHP Code:
return $this->response->setJson(['errors' => $this->model->errors()]); 
Reply


Messages In This Thread
Ajax and ci4 validation - by spreaderman - 05-16-2022, 05:58 PM
RE: Ajax and ci4 validation - by iRedds - 05-16-2022, 06:28 PM
RE: Ajax and ci4 validation - by spreaderman - 05-16-2022, 10:05 PM
RE: Ajax and ci4 validation - by manager - 05-16-2022, 11:28 PM
RE: Ajax and ci4 validation - by manager - 05-16-2022, 11:09 PM
RE: Ajax and ci4 validation - by iRedds - 05-16-2022, 11:24 PM
RE: Ajax and ci4 validation - by spreaderman - 05-17-2022, 02:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB