Hello,
I have the following Zend_Form code to apply to form element decorators:
$decorators = array(
'ViewHelper',
'Description',
array('break' => 'HtmlTag', array('tag' => 'br', 'openOnly'=>true)),
array('Label', array('class' => 'formLabel', 'separator'=>' ', 'requiredSuffix' => ' <em class="requiredFormElement">(requried)</em>', 'escape'=>false)),
array('Errors', array('class' => 'formErrors')),
array(array('row' => 'HtmlTag'), array('tag' => 'div')),
);
It seems no matter what I do I can't seem to make the Errors show up before the form element (and label) itself. Am I missing something? Everything else seems to be ordered correctly. Can this only be done with a custom decorator?
Thank you in advance.