Re: HTML_QuickForm DHTML client rules and SoftRequired rule

From: Date: Mon, 27 Mar 2006 08:44:25 +0000
Subject: Re: HTML_QuickForm DHTML client rules and SoftRequired rule
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41990@lists.php.net to get a copy of this message
"Justin Patrin" wrote: > I've just altered the class a bit to get rid of this requirement. I > overrode the display() method so it calls getValidationScript() > itself. If you don't use display() you'll still have to add the extra > call to set up the JS event handlers. Although I'm not affected by this change (I'm not using display()), just my opinion: Error messages should be shown if there is an error. Showing the error message when the user types his name (or whatever) into a form field, should not be the default case. Of course, it is easy to remove the display() function from your class to get back the behavior from yesterday. Regards, Mark

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