You just add them to the array of data you send to $model->save. Say instead
of:
$this->Post->save($this->data);
You can do something like:
$data = $this->data;
$data['Post']['some_field'] = 'some_value';
$this->Post->save($data);
-MI
---------------------------------------------------------------------------
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-----Mensaje original-----
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de [EMAIL PROTECTED]
Enviado el: Jueves, 21 de Diciembre de 2006 06:41 p.m.
Para: Cake PHP
Asunto: Re: Updating a date field after form submission
That I did not know...I'll change the names of my fields. I guess it
would still be useful to know how to update fields that aren't in a
form along with the form anyway though.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---