Mailing List Archive

strange DBIx::Recordset behavior
When I have a form field that I want to delete the contents of, I wipe it
out and make it blank, then submit the form, but DBIx::Recordset doesn't
update it to "NULL" (MySQL)...it leaves the previous contents untouched. If
I make the form field \s, then it works fine...if I put data in it, no
problem...but when I submit a blank field it doesn't update the DB to
NULL...

How do I work around this?? Is there an option I'm missing somewhere??

Thanks!

Jon Brisbin
Re: FIXED: strange DBIx::Recordset behavior [ In reply to ]
found it! (finally...must have missed it before :-)

optAllFormData

Jon Brisbin


----- Original Message -----
From: Jon Brisbin <brisbin@ipa.net>
To: Embeded PERL ML <embperl@perl.apache.org>
Sent: Saturday, August 12, 2000 5:30 PM
Subject: strange DBIx::Recordset behavior


> When I have a form field that I want to delete the contents of, I wipe it
> out and make it blank, then submit the form, but DBIx::Recordset doesn't
> update it to "NULL" (MySQL)...it leaves the previous contents untouched.
If
> I make the form field \s, then it works fine...if I put data in it, no
> problem...but when I submit a blank field it doesn't update the DB to
> NULL...
>
> How do I work around this?? Is there an option I'm missing somewhere??
>
> Thanks!
>
> Jon Brisbin
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>