On Thu, Jan 21, 2010 at 2:44 PM, Thomas Weidner <[email protected]> wrote: > The form itself can provide the original value. > > How should a filter return an "unfiltered" value on a already filtered > input? > There is no way for a filter to know what the original value was. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com
I wouldn't expect the filter to know the original value, but the form element does store the unfiltered value. It seems it would be pretty easy to add an option Zend_Form_Element_Text that the view helper could query to determine whether to use $element->getValue() or $element->getUnfilteredValue() when rendering the input element. Andrew
