Re: QuickForm + "soft" rules.

From: Date: Mon, 06 Jun 2005 16:04:37 +0000
Subject: Re: QuickForm + "soft" rules.
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19485@lists.php.net to get a copy of this message
On 6/6/05, Jaskirat Singh <jaskirat_singh@yahoo.com> wrote: > may be it works .. I have just started using quickform .. so not very sure .. but here is an > idea for the hack ... > > Addrule as usual .. and when the form is sent back for correction .. check if that is the > "ONLY" error in the form .. if that is so .. freeze that element .. and don't add > that rule this time ... > > possible ? Sure it is and I could fairly easily make some code which alters the form in this way but I was looking for an easy solution to allow the rule itself to do this so that it could be a component of QuickForm. > > Jas > > Edward Grace <ej.grace@imperial.ac.uk> wrote: > > Hmmm.....well my quick look didn't turn up anything easy. > > That's the same conclustion I came to.. I was just hoping someone with more > PHP "mojo" would see an easier way! ;-) > > > If anyone > > else can get this working it would be great. Or a feature request for > > QF would be good. > > I will add this, > > -ed > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- Justin Patrin

« previous php.pear.general (#19485) next »