mfuller wrote:
> 
> 
> 
> kimho wrote:
>> 
>> 
>> I think you just need to remove the words array('belongsTo' =>
>> 'childForm') and it will be ok.
>> Making the childFieldOne and childFieldTwo all belong to TryForm.
>> 
> 
> Sorry I should have specified that I want childFieldOne & childFieldTwo to
> be posted as an array childForm['childFieldOne'] and
> childForm['childFieldTwo']
> 
> Thanks.
> 


Well, in this case I think you just have to do it this way :

$this->addElement('text', "childForm['childFieldOne']");


-----
kim ho from china

http://kimbs.info/ http://kimbs.info 

http://zend.com/zce.php?c=ZEND005888&r=229591104 Zend Certificated Engineer

Zend Framework Certificated Engineer 
-- 
View this message in context: 
http://www.nabble.com/Populating-form-that-has-belongTo-elements-tp23727030p23735036.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to