From: Christian Weiske on 9 Jul 2010 05:11 Hi all, I am using HTML_QuickForm2_Renderer_Array with group_errors enabled. Unfortunately, the 'errors' field in the array I get from toArray() does not contain form errors, only element errors. Is that a bug or expected behavior? Example: > $form = new HTML_QuickForm2(..); > $user = $form->addElement(..); > $user->addRule(..); > $form->addRule(..) > $renderer = HTML_QuickForm2_Renderer::factory('array'); > $ar = $renderer->toArray(); 1) $ar['errors'] contains the user error 2) $ar['errors'] does not contain the form error -- Regards/Mit freundlichen GrüÃen Christian Weiske -=â¡ Geeking around in the name of science since 1982 â¡=-
|
Pages: 1 Prev: [ANNOUNCEMENT] Text_Figlet-1.0.2 (stable) Released. Next: DB Cancel query |