Re: QF3.2 - 2 BC breaks with custom method!

From: Date: Wed, 05 Nov 2003 21:44:26 +0000
Subject: Re: QF3.2 - 2 BC breaks with custom method!
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8794@lists.php.net to get a copy of this message
Hi! Lukas Smith wrote:
The problem with your approach is: QuickForm's validation was designed to validate the *value*, not the *element*.
Just as a quick FYI without knowing any of the details: Having complete docs for packages helps for deciding what a BC break is and what isn't. Removing undocumented features is not a BC break!
Tend to agree here... Nowhere in QuickForm docs/examples it is advised to extend the QuickForm class and to add validation methods that access the object's properties. This solution is fragile and obviously will have problems surviving major validation refactoring.

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