Tuesday, November 29, 2011

Re: Date picker for CakePHP 2.0.3

Hi Florin,

You can use http://jqueryui.com/demos/datepicker/. It is really easy to implement no matter if you are using 1.x or 2.x

Just use the dateFormat option and configure it to match your database/validation rules.
$( ".selector" ).datepicker( "option", "dateFormat", 'yy-mm-dd' );

Best, Jordan

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: