I have done that before using some other mechanism but they were not somehow natural ways to do it.
It can be done in a much easier way -NATURALLY- though
1. have the input box in your zend form as
$this->addElement('text', 'emails', array( 'label' => 'Emails', 'isArray' => TRUE, 'name' => 'emails' ));
Or however you are creating the inputbox – or anyother input
var new_email = document.createElement('input'); new_email.name = 'emails'; new_email.type = 'text'; new_email.setAttribute('size', 30);
3. yes, you are done!. When the form is submitted, the element with name emails would be passed along with the other form elements.
In your controller you would have an array of emails and the rest is …