Hi,

I've got this working thanks, and also put a "null" value at the
start.

How do I find out the value that's been selected in PHP and also, I
use isset() on the input fields, how do I check if the dropdown value
is null?

On Mar 31, 8:13 pm, mscdex <[email protected]> wrote:
> 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);

--~--~---------~--~----~------------~-------~--~----~
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