I think you are using $form->addElement() in a worng way, the API says the
following:

$element may be either a string element type, or an object of type
Zend_Form_Element. If a string element type is provided, $name must be
provided, and $options may be optionally provided for configuring the
element.

If a Zend_Form_Element is provided, $name may be optionally provided, and
any provided $options will be ignored.

So the addElement() does not restore previous elements in the form by
passing it's name as first parameter, if you want the element to be part of
the form again you must create it again.
-- 
View this message in context: 
http://n4.nabble.com/Zend-Form-adding-and-removing-elements-from-controller-tp1594446p1594564.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to