if you set the input to type text you will only get one single input field for your database field holding the date(time). Then you can attach the datepicker to that field.
On 13 Apr., 00:05, Ryan Schmidt <google-2...@ryandesign.com> wrote: > I think he doesn't want multiple inputs; he wants a single text input field > containing the entire date/time string. > > On Apr 12, 2011, at 03:16, Jens Dittrich wrote: > > > > > > > > > yes, possible. If you have a look in the documentation you will find > > that you can tell each input what type it should be. So in your case > > you would have to give it the option 'type' => 'text' in the options > > array(). > > > On 12 Apr., 06:29, jackgoh wrote: > > >> When we use DateTime as data type, cakephp will auto generate dropdown > >> lists, but i want it display in textbox. -- 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