echo $form->input('Model.field', array('onclick'=>'someAction()',
'label'=>'', 'minYear' => '1910', 'maxYear' => '2010'));2009/3/31 mscdex <[email protected]> > > On Mar 31, 12:18 pm, Kalt <[email protected]> wrote: > > echo $form->dateTime( > > 'fieldname', > > 'DMY', > > 'NONE', > > null, > > array( > > 'minYear' => 1983, > > 'maxYear' => date('Y') > > ), > > false > > ) > > You can also do: > > echo $form->year('Model.fieldname', 1983, date("Y"), null, array(), > false); > > > -- Juan Carlos Michaca Lucero PAASEL Consultoría en Matemáticas Aplicadas Insurgentes Sur 1700 Despacho 102 Col. Florida C.P, 01030 Deleg. Alvaro Obregón, México D.F. Tel. + 52 (55) 5663 4175 http://www.paasel.com [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
