Re: [fw-general] Zend_Form clearErrorMessages vs. clone the object

2009-09-09 Thread Chris Murray
What exactly is the feature request? For batch form operations, a new Zend_Form method named something like clearAndPrepForRePopulate(). It would recursively clearAllMessages(), including those in all elements and subForms, as well as set _errorsExist to FALSE. So it would like: $form =

Re: [fw-general] Zend_Form clearErrorMessages vs. clone the object

2009-09-06 Thread Ralph Schindler
Is there a better way? If not, is this a reasonable feature request, that is, to _really_ clear all messages so the object can be reused for batch ops. What exactly is the feature request? If you check out Zend_Form, it has been designed such that when its cloned, it will actually enforce

[fw-general] Zend_Form clearErrorMessages vs. clone the object

2009-09-03 Thread Chris Murray
When importing data, say, from a CSV, I'd like to avoid rebuilding my form object every time (it is built up from a somewhat complex config). clearErrorMessages() looks like what I need, except that it doesn't appear to clear all messages from all elements and subforms, and it doesn't set