How can i get rid of Zend default error not to show "Value is required and can't be empty"
Thanks
I'm using this method:
$this->addElement(
'text',
'testname',
array(
'label' => 'User Name',
'required' => true,
'filters' => array(
'StringTrim'
)
)
);
$element->setRequired(false);
– tawfekov