use a js datepicker
those can be configured to disable those dates

and always make sure the validation in php (backend) is there as well
(as frontend js validation can be tempered with in the browser)


On 13 Jul., 18:38, Shaz <[email protected]> wrote:
> http://book.cakephp.org/view/1390/Automagic-Form-Elements
>
> ^^ It's possible for me to make sure a user doesn't choose beyond a
> minimum and maximum years, but whats the best way of putting limits on
> the months and days as well? Basically I want to make sure a user can
> only select a date in the future...

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

Reply via email to