you could try
Model->saveField('fieldName', 'NULL');
On Aug 18, 10:00 am, Martin Westin <[email protected]> wrote:
> Hi,
> I would prefer to be abel to use saveField for a simple ajax inline-
> edit functionality. Setting a value is fine, clearing out the field
> does not apear to work. I can't seem to call Model->saveField
> ('fieldname',null) or even pass an empty string.
>
> Am I doing something wrong or is it just not possible, and I should do
> a "normal" save?
>
> /Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---