title: zend framework stringtrim filter not working
body: <p>I'm having trouble with zend framework's string trim filter. I use the following code to set up a text element in a Zend_Form:</p>
  
  <pre><code>$voucherValidator = new Project_Validate_Voucher();        
  $code = $this-&gt;addElement('text', 'code', array('label'=&gt;'Gutscheincode'));
  $code = $this-&gt;getElement('code')
      -&gt;addFilter('StringTrim')
      -&gt;addValidator($voucherValidator, true);
  </code></pre>
  
  <p>When I type in some text with preceeding blanks or tabs, the validator correctly works on the StringTrim filtered input and accepts the input. When I later check the $_POST['code'] after code submission, I get the unfiltered input. How can I get my text element to post the filtered value?</p>