I want to add a default selected option in the select tag
Here's the code:
->add('datefinProjet', 'date', array(
'label'=>'Date fin Projet :',
'years' => range(date('Y') - 20, date('Y') - 100),
'empty_value' => array('years'=>'' , 'month' => '', 'day' =>'' )))
I want the select list to start with the empty value ''