Re: Getting all errors in HTML_QuickForm
| From: | Ken Guest | Date: | Wed, 01 Aug 2007 23:51:00 +0000 |
| Subject: | Re: Getting all errors in HTML_QuickForm | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27778@lists.php.net to get a copy of this message | ||
On Wed, Aug 01, 2007 at 10:20:01PM +0100, Chris Boget wrote:
> Is there a way to get all the errors generated upon submission all at
> once? I know you can use getElementError() but unless I iterated
> through all the elements calling that function (not ideal), I can't see
> any other way to get all the errors.
>
Chris,
I've found using HTML_QuickForm_DHTMLRulesTableless takes care of that problem
rather nicely.
k.
--
Ken Guest
Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/
Irish PHP Users Group http://www.php.ie