$datesearch = array(
'language' => 'de',
'format' => 'dmY',
'minYear' => "1995",
'maxYear' => date("Y")+5
);
$form->addElement('date','createat','erstellt am',$datesearch,$classform);
Now I want the user to give the possebility NOT to select a Date so they
search for every element.
Is there a way to give the elements inside the date elemnt a value like --
-- ----. So its obvious that no date is selected.
Just add
'addEmptyOption' => true
to your $datesearch array
--
Massimiliano Arione
:: http://www.garak.it/ ::
* NO WORD * http://gnu.org/philosophy/no-word-attachments.html
* NO HTML * http://efn.no/html-bad.html