Hi,
I need to disable a datetime field and enable it when user clicked on
a radiobuutton, there is no problem in enabling because every single
field has an id but I don't know how can I disable datetime fields?!!
this is how I tried to do it:

$form->dateTime('Customer.switch','MY','NONE',time(),array('minYear'
=> date('Y'),'disabled'=>'disabled'),false);

it doesn't work! any idea?!!!
--~--~---------~--~----~------------~-------~--~----~
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