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=&b=&c=123" to a hashref > suitable for feeding into $form->params() should simply take any query > parameter that has no value (i.e., a and b in the query string above) > and set it to undef in the hash.
But I don't have such a piece of code. I simply use init_with_object/object_from_form(within the suggested wrapper like init_with_product). No query string parsing or such. I don't call $form->params() myself anywhere in my code. I guess, what you are talking about is done here: $form->init_fields_with_cgi($self->query). Do I have to write my own init_fields_with_cgi variant to achieve the desired effect? - Michael ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object