I have a simple content edit form (Zend_Form) that I populate() with an array generated from the Zend_Db_Table_Row_Abstract->toArray() method. It works quite well.
The goal is to not populate one of the form elements with a value.
I'm currently solving this by removing that specific key => value pair from the populating array. I'm curious if there's a way to do that when generating the form element itself.
Say...
$foo = new Zend_Form_Element_Textarea('foo');
$foo->ignoreDefaultValue(true);
$form->addElement($foo);
Any thoughts?