Thanks mike it worked , i forgot text type
On Mon, Apr 23, 2012 at 15:57, Mike Griffin wrote:
> On Mon, Apr 23, 2012 at 11:22, Mangesh Sathe
> wrote:
> > Hello all,
> >
> >I am using Form->input('birthdate',
> array('id'
> > => 'select2','label'=>false)); ?> code to generate text input field
> for
> > birth date.
> > But cakephp automatically adding 3 drop down boxes for year,month & day.
> >
> > How can i remove dropdown boxes?
>
> Set the type of input field that you want to use in the input tag.
>
> $this->Form->input(('birthdate', array('id' => 'select2',
> 'label'=>false, 'type' => 'text'));
>
> Mike.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
--
* マンゲシュサテ*
* MANGESHSATHE*
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php