Re: Re: QF date suggestion

From: Date: Fri, 31 Oct 2003 14:23:50 +0000
Subject: Re: Re: QF date suggestion
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23163@lists.php.net to get a copy of this message
Alexey Borzov wrote:
Hi! Jeroen Houben wrote:
I have a really simple option to add the the QF date element. Perhaps you can incorporate it in the next version. It allows you to define intervals for the minute select box. Can be very useful, for instance in some scheduling application where you want the user to only be able to select certain minutes. Like 5, 10, 15, 20 ... etc.
Added this functionality. You pass the option of the form 'optionIncrement' => array('format char' => increment, ...) Only 'i' and 's' format chars currently pay attention to this. Cool! Thanks.
Also I was wondering if it is possible to have the days look like: Monday 21 Tuesday 22 Wednesday 23 It is possible now, but two independent selectboxes are generated. One for the day text and one for the day number which is rather useless IMO. In other words it would be nice to be able to combine "l" (or"D") and "d" for the labels, but keep "d" as the value. I guess this doesn't go well with the way the date element is setup though... Jeroen

« previous php.pear.dev (#23163) next »