Hmm I thought if you left out the field entirely that was the straightforward fix.
$validate should only mention fields you want to validate.... On Feb 11, 5:41 am, overture <[email protected]> wrote: > I am having issues with validation on date fields. I need to ignore > validation for a date field, however, I have tried everything and > can't find a solution. I have changed the validation on the model > to:- > > 'actual_start_date' => array( > 'rule'=>'date', > 'required' => false, > 'allowEmpty' => true) > > I have also tried omitting this code altogether, but it still doesn't > work. > > Does anyone have any ideas what I'm doing wrong? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
