title: Zend Framework Form Decorators for Error Messages
body: <p>I have been trying to use decorators to format my form. I have formatted the form elements into a table. I have formatted the button elements. I just need to know what options to put into <code>setDecorator</code> to make my error messages appear in a <code>&lt;td&gt;</code> tag or cell next to the respective input field instead of below it.</p>
  
  <p>I have tried putting errors in an array and setting the 'tag' => 'td' but it does not work. Any help would be appreciated.</p>
  
  <p>My code so far is:</p>
  
  <pre><code>public $elementDecorators = array(  
      'ViewHelper',  
      'Errors',  
      array(array('data' =&gt; 'HtmlTag'), array('tag' =&gt; 'td', 'class' =&gt; 'element')),  
      array('label', array('tag' =&gt; 'td')),  
      array(array('row' =&gt; 'HtmlTag'), array('tag' =&gt; 'tr')),  
  );
  </code></pre>