Say I create a text element like this:
$firstName = new Zend_Form_Element_Text(\'firstName\'); $firstName->setRequired(true);
Whats
if you put:
$element->setRequired(false);
the validations don't work at all, you have to define:
$element->setAllowEmpty(false);
in order to get the correct behavior of the validations.