Re: QF Date element with empty date ?
| From: | Alexey Borzov | Date: | Wed, 16 Feb 2005 08:11:59 +0000 |
| Subject: | Re: QF Date element with empty date ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17549@lists.php.net to get a copy of this message | ||
Hi,
Mirco Blitz wrote:
I am using the date element on a form that should lead into a DB search.
To do so I setted up the Element like this.
$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.
1) Do not post new questions to existing threads, start a new thread.
2) It is possible, read the docs:
http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-date.html-quickform-date.php