Re: HTML_QuickForm2_Rule_Callback: inverting callback rule results

From: Date: Sat, 15 May 2010 16:51:57 +0000
Subject: Re: HTML_QuickForm2_Rule_Callback: inverting callback rule results
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30542@lists.php.net to get a copy of this message
Hi Alexey, > > So we have 3 rules here for which inversion makes sense, and only 2 > > often-needed ones. I think it's the easier/better way to add the > > respective inverted rules instead of adding new methods to the API. > OK, committed NotCallback and NotRegex rules, for some reason these > commits didn't show in pear-cvs. Great! > I've never seen the need for MinFileSize rule, so didn't bother with > this yet. Anyway, a better approach here will be to create a generic > FileSize rule based on Length, rather than an inversion of > MaxFileSize. Np. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.general (#30542) next »