Using the form-helper, change the input for the date to:

$form->input('date', array('minYear' => 1950)).

When the input is for something like a birthday, you can also add a
'maxYear' => 2000 or something to that last array since obviously
nobody born in 2029 will be using your site now. :)

On 29 okt, 05:45, Jiru <[email protected]> wrote:
> Hii Programmers ,
>
> In cakephp when I use DATE field it displays the dropdown list with
> year limit 1989-2029  how can we get the date from 1950?
>
> regards,
>                     jiru
--~--~---------~--~----~------------~-------~--~----~
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