OK,
I've banged my head against the wall a million times. This is my problem:
I got date and time fields which I need. They are not associated with the
model or database.
I call them like so:
echo $form->input('from', array('label' => 'From', 'type' => 'date',
'div' => 'date'));
echo $form->input('to', array('label' => 'To', 'type' => 'date',
'div' => 'date'));
echo $form->input('time', array('label' => 'Time', 'type' => 'time',
'div' => 'date'));
However, cleanUpFields doesn't work it's magic like if those fields were in
the database.
Any ideas?
Is there a way to force the model to consider those fields as its own?
Ideas would be greatly appreciated.
--
Baz L
Web Development 2.0: Web Design, CakePHP, Javascript
http://www.WebDevelopment2.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---