An update...

I added a hidden field and suddenly, the default date works...
I'm not sure if this is by design or a bug....

Here is my code:
                        <?php echo $form->input("Subject.id", array("type" => 
"hidden",
"value" => $subject["Subject"]["id"])); ?>
                        <?php echo 
$form->input("SubjectAuthorization.expiry_date", array
("selected" => strtotime("2008-01-02"))); ?>


On Jan 25, 6:46 pm, ProFire <[email protected]> wrote:
> I am facing the same problem too...
>
> I can't change thedefaultor the selected fields.
> Here's my code:
> <?php echo $form->input("SubjectAuthorization.expiry_date", array
> ("selected" => strtotime("2008-01-02"))); ?>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to