RE: [PEAR] QF group required rule on Date element
| From: | Mike Carter | Date: | Tue, 06 Jan 2004 12:51:10 +0000 |
| Subject: | RE: [PEAR] QF group required rule on Date element | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9996@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Bertrand Mansion [mailto:bmansion@mamasam.com]
>
> I have never tried to add a date element in a group and I
> would say it is
> not possible as it is a group itself and subgroups in QF are
> not supported
> and can lead to unexpected results.
>
> Maybe in a later release, we could convert those basic
> elements like date
> and hierselect not to be treated like groups but that's not
> the case today.
The ideal solution would be to re-think the Date element without the use of
QF grouping.
Perhaps have a simple string gadget which you can link to a pop up calendar
like on the PEAR search packages page. Selecting a date from the calendar
would dump a date (in a defined format) which coud then be edited. Also
include some built in validation to make sure the day number is valid for
the month specified etc.
I might look at this, unless somebody else is working on it already?, in the
coming weeks.
Regards,
Mike.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________