KimG wrote:
> 
> gives 6 4 and 5.
> 
> but how come zend doesn't see this extra value?
> 

Think about it... :-) 

When the form is posted youre getting raw data which is used to reconstruct
the form so you have a form object to work with. Generally you do this using
the same construction process first used. In order to get new values you
have to add those fields when you reconstruct the form.
So you need to loop through the data and create fields instead of explicitly
creating them when youre processing a posted form - perhaps when you first
create the form as well for consistency or if you are putting the code in a
custom form class or using the same action that produces the inital view of
the form.

-- 
View this message in context: 
http://old.nabble.com/adding-elemets-to-zend_form-dynamically-tp26157848p26157860.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to