Thanks mike .... it worked , i forgot text type On Mon, Apr 23, 2012 at 15:57, Mike Griffin <[email protected]> wrote:
> On Mon, Apr 23, 2012 at 11:22, Mangesh Sathe > <[email protected]> wrote: > > Hello all, > > > > I am using <?php echo $this->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 > [email protected] 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
