AW: [PEAR] QF Date element with empty date ?
| From: | Mirco Blitz | Date: | Wed, 16 Feb 2005 09:28:42 +0000 |
| Subject: | AW: [PEAR] QF Date element with empty date ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17551@lists.php.net to get a copy of this message | ||
Hi Alex,
1. It is a new thread. As far as i can see.
2. Thank you very much, I missed that option.
Greetings
mirco
-----Ursprüngliche Nachricht-----
Von: Alexey Borzov [mailto:borz_off@cs.msu.su]
Gesendet: Mittwoch, 16. Februar 2005 09:12
An: Mirco Blitz
Cc: pear-general@lists.php.net
Betreff: Re: [PEAR] QF Date element with empty date ?
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-dat
e.html-quickform-date.php