Welcome Guest, Not a member yet? Register   Sign In
form_validation return after first field error ?
#4

(This post was last modified: 02-16-2019, 04:11 PM by ciadmin.)

If your question is actually whether you can get all errors instead of just the first one, then yes ... https://www.codeigniter.com/user_guide/l...rror_array

Treat that as an array, and iterate over it, building your responses or view parameters ... possible.
Or, the user guide (same page) shows splitting them off individually, to show specific error message beside each field (more work).
Reply


Messages In This Thread
RE: form_validation return after first field error ? - by ciadmin - 02-16-2019, 04:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB