I have an Zend Form extended from Zend_Dojo_Form there are some input element added with $this->addElement('text','email'). In controller i prepopulate form field with
$myForm = new MyForm();
$this->view->myForm = $myForm;
$this->view->unsubscribeForm->email->setValue('abc@def');
$this->view->unsubscribeForm->email->setAttrib('whereismyvalue','missing');
And in view script, i use this to display
<?php echo $this->unsubscribeForm ?>
But when it is render the field value is missing
<input id="email" type="text" whereismyvalue="missing" value="" name="email">
even when I try
$this->view->unsubscribeForm->email->setAttrib('value','beep');
Nothing show up, and I dont know why :(