Zend Form - How to set values on sub form elements?

Posted by Zend_Sklave on Stack Overflow See other posts from Stack Overflow or by Zend_Sklave
Published on 2011-04-05T01:20:45Z Indexed on 2012/12/07 17:07 UTC
Read the original article Hit count: 123

Filed under:
|
|
array 
'subQuantity' => 
array
  'quantity_6' => string '23' (length=2)
  'quantity_16' => string '23' (length=2)
  'quantity_18' => string '23' (length=2)
'update' => string 'Update' (length=6)

Good day! I just created a subform from my existing zend form and procures this data when form submits. Based on posted data (the quantity_ elements), I would like to set the values to subform elements. Is it possible? Thanks in advance. cheers and happy coding!

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework