Hi.
I have:
In my parent form class Umpirsky_Form extends Zend_Form (constructor)
$this->setElementFilters(array(
'StringTrim',
'StripTags'
));
In my concrete form class My_Form_Admin_SthEdit extends Umpirsky_Form (init
method)
$this->addElement(
'hidden',
'id',
array(
'value' => $id,
'filters' => array('int')
)
);
Filters set in parent form are applied to all elements. Is there a way to
have default filters for all elements and then set specific filters if I
want for concrete element?
Regards,
Saša Stamenković.
--
View this message in context:
http://n4.nabble.com/Zend-Form-Element-filters-tp788659p788659.html
Sent from the Zend Framework mailing list archive at Nabble.com.