Welcome Guest, Not a member yet? Register   Sign In
Array in form validation
#1

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
Reply
#2

(This post was last modified: 01-07-2018, 10:16 PM by kilishan.)

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB