[html-formfu] nested params branch

Mario Minati mario.minati at googlemail.com
Mon Nov 5 21:00:55 GMT 2007


On Monday 05 November 2007 10:58:45 Carl Franks wrote:
> 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.

:-)

Mario



More information about the HTML-FormFu mailing list