[Catalyst] "update_from_form" and empty fields

Andy Grundman andy at hybridized.org
Fri Nov 18 20:35:43 CET 2005


Jesse Sheidlower wrote:
> On Fri, Nov 18, 2005 at 02:12:25PM -0500, Jesse Sheidlower wrote:
> 
>>On Fri, Nov 18, 2005 at 12:44:04PM -0600, Ken Youens-Clark wrote:
>>
>>>Hi,
>>>
>>>I'm using "$class->update_from_form( $c->form )" to pass through my  
>>>form submission to my Class::DBI model.  This works great except when  
>>>I'm trying to put an empty string in place of some value that was  
>>>there before (that is, I want to get rid of a field's value).  Any  
>>>suggestions or workarounds?
>>
>>You probably need to 
> 
> 
> ...ignore me and listen to andyg.

Actually you're probably right.  FromForm 0.03 has been out for a while 
so while it could really be either problem, not having 
missing_optional_valid is more likely. :)

-Andy



More information about the Catalyst mailing list