Array in form validation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Array in form validation (/showthread.php?tid=69691) |
Array in form validation - bodnarlajos - 01-06-2018 Hello! I had to make CI core modification to make the form validation work with arrays (multiple rows on form), according to this guide: http://pgmmer.blogspot.hu/2011/05/codeigniter-formvalidation-errors-with.html (its from 2011). Is it possible to make it default in CodeIgniter? Thanks, Lajos RE: Array in form validation - kilishan - 01-07-2018 I thought I had added that in, but guess I hadn't gone back and done that after building the dot array syntax array searching library. I just pushed a commit in the repo that allows you to validate arrays using "dot array syntax", like: Code: questions.name etc. |