• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
form_validation return after first field error ?

#4
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.