I have this _optional_ datefield, the user can fill it but its not
required to fill it.
<?php echo $form->dateTime('Event.enddate','DMY',
24,false,array('minYear' => date('Y',time()),'maxYear' =>
date('Y',time()) + 2),true)?>
But when there's a validation error in the Event.title field, it
outputs this datefield (Event.enddate) not empty (see the true, last
param), instead it outputs 1-January-(empty) 1:00
Any idwas why and how to solve this problem?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---