Re: [RDBO] good way to handle empty fields?

2007-12-15 Thread Michael Lackhoff
On 16.12.2007 02:05 John Siracusa wrote: > On Dec 15, 2007 10:43 AM, Michael Lackhoff <[EMAIL PROTECTED]> wrote: >> I guess, what you are talking about is done here: >> $form->init_fields_with_cgi($self->query). > > What is $self in that line? My (CGI::)Application object. The whole thing ($sel

Re: [RDBO] good way to handle empty fields?

2007-12-15 Thread John Siracusa
On Dec 15, 2007 10:43 AM, Michael Lackhoff <[EMAIL PROTECTED]> wrote: > I guess, what you are talking about is done here: > $form->init_fields_with_cgi($self->query). What is $self in that line? -John - SF.Net email is spon

Re: [RDBO] good way to handle empty fields?

2007-12-15 Thread Michael Lackhoff
On 14.12.2007 19:12 John Siracusa wrote: > I think your problem is at a level higher: it's the thing feeding your > params() to the form. If you've decided that an empty text field > should result in an undef field value, then the piece of code you have > that converts from a query string like "a