Re: Getting all errors in HTML_QuickForm
| From: | Alexey Borzov | Date: | Thu, 02 Aug 2007 08:31:48 +0000 |
| Subject: | Re: Getting all errors in HTML_QuickForm | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27780@lists.php.net to get a copy of this message | ||
Hi,
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. Any pointers would be greatly appreciated.HTML_QuickForm is sooo PHP4: $errors = $form->_errors;