CodeIgniter Forums

Full Version: Array in form validation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/codeig...-with.html
(its from 2011). 

Is it possible to make it default in CodeIgniter? 

Thanks, 
Lajos
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
questions.*.name

etc.