Re: Re: Quickform date element
| From: | Justin Patrin | Date: | Tue, 09 May 2006 14:38:36 +0000 |
| Subject: | Re: Re: Quickform date element | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24020@lists.php.net to get a copy of this message | ||
On 5/8/06, cwhisperer <cwhisperer@vo.lu> wrote:
unfortunately I do not know how to do that but may be someone else will do it ;)Just go look at the date element and extend the function that does the select creation. Then you just register your own element class and use it as normal.
regards Mark Wiesemann wrote: cwhisperer wrote:-- Justin PatrinThat's not possible with QF's date element. But you can extend the date element class and add such a feature, of course. Regards, Mark -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpmaxYear and minYear are option names you can use creating a date element. How to limit the number of days to display? (ex from 27 June to 2 July)