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:
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]
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
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