[html-formfu] nested params branch

Carl Franks fireartist at gmail.com
Mon Nov 5 09:58:45 GMT 2007


On 03/11/2007, Mario Minati <mario.minati at googlemail.com> wrote:
> On Saturday 03 November 2007 09:30:27 Carl Franks wrote:
> > I'm also planning on overloading field->name() to disallow dots and
> > square brackets in names
> >     .[]
> > as that would really break things.
> > Making it a fatal error with a clear error message would probably also
> > help anyone that doesn't understand how the nested-params work, and
> > tries to set the name like that.
>
> That would be very usefull and help avoiding hard to find mistakes.

I've implemented this now - it's now a fatal error to use a period or
square bracket in a field name.

Carl



More information about the HTML-FormFu mailing list