[symfony-users] Re: How to access the object of an embedded form

2009-05-26 Thread Tom Haskins-Vaughan
Perfect! Works like a charm. Looking forward to sf1.3 to get rid of the need for the work-around. Tom Haskins-Vaughan wrote: Thanks, esion. I'll give it a go and let you know how I get on. esion wrote: Hi, First, I'm not sure that works : ?php foreach($form as $cartItemForm): ?

[symfony-users] Re: How to access the object of an embedded form

2009-05-25 Thread Tom Haskins-Vaughan
Thanks, esion. I'll give it a go and let you know how I get on. esion wrote: Hi, First, I'm not sure that works : ?php foreach($form as $cartItemForm): ? tr td?php echo $cartItemForm['quantity']-renderLabel() ?/ td td?php echo

[symfony-users] Re: How to access the object of an embedded form

2009-05-23 Thread esion
Hi, First, I'm not sure that works : ?php foreach($form as $cartItemForm): ? tr td?php echo $cartItemForm['quantity']-renderLabel() ?/ td td?php echo $cartItemForm['quantity'] ?/td td/td /tr ?php endforeach; ? It doesn't match with

[symfony-users] Re: How to access the object of an embedded form

2009-05-23 Thread esion
Oups, another tip : Don't forget that echo $form will display all the form and embedded ones, It's really helpfull to design forms. Cheers, David. On May 23, 11:26 am, esion esio...@gmail.com wrote: Hi, First, I'm not sure that works  :  ?php foreach($form as $cartItemForm): ?          tr