[symfony-users] Re: How to add multiple forms to a page?

2009-01-02 Thread carlos.barros
Hello guys!! This post is a little bit old (well, not very old), but I just posted an example of using embedFormForEach to add multiple items in a form.. The example is not very simple, but works pretty well... you can check it at:

[symfony-users] Re: How to add multiple forms to a page?

2008-11-05 Thread David Arthur
Thibault, Great example, did you ever find a solution for adding multiple addresses? The obvious method would be embedFormForEach but this doesn’t seem to have a way of accepting pre populated values (for when you'd want to edit a form). On Nov 4, 12:29 pm, Thibault Jouannic [EMAIL PROTECTED]

[symfony-users] Re: How to add multiple forms to a page?

2008-11-04 Thread Thibault Jouannic
Hello, You should check functions like embedForm, mergeForm, embedFormForEach, in the sfForm class. They allow to build one form embedding others. You may find them interesting for your need. à++; Thibault On 2 oct, 22:12, Ardesco [EMAIL PROTECTED] wrote: I'm a fairly new symfony user, and

[symfony-users] Re: How to add multiple forms to a page?

2008-11-03 Thread David Arthur
Did you get anywhere with this one? I think this is a very common requirement for forms to handle the hasMany relationship with the ability to create new rows on the related table from within the master form. Ive been searching all over but as of yet cant find a way to do it and so looking at a