In symfony2 form creator I have a simple date field:
->add('start_date', 'date', array(
'html5' => false,
'widget' => 'single_text',
))
This does the job perfectly, however i dont want to be able to select an old date, for example if today is 2015-11-19 I dont want to be able to select 2015-11-18. Itt should be grayed out or something.
Is there a default option for something like this? If not, what could be the best approach to do what I want?