You can check another example here :

http://www.miximum.fr/methodes-et-outils/104-mixons-des-formulaires-avec-symfony

Text in french, but the code is quite straightforward.

On 4 nov, 13:22, David  Arthur <[EMAIL PROTECTED]> wrote:
> Thanks Thibault,
>
> Anyone know of any good examples as the form book lacks anything to do
> with using these methods? Are these methods fully compatible with
> Doctrine and Propel?
> Im currently struggling to create an Event form that has a variable
> number of dates attached to it, the dates are in a separate model to
> the Event model.
>
> I've looked 
> at:http://thatsquality.com/symfony/symfony-1-1-forms-customizing-your-fo...
> I'm worried this example is out of date. Is what is suggested the best
> method?
> Is anyone working on Chapter 5 of the form book that might deal with
> embedForms?
>
> Regards,
> David
>
> On Nov 4, 11:05 am, Thibault Jouannic <[EMAIL PROTECTED]> wrote:
>
> > 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 I've managed to populate a form
> > > with various widgets. However, one question that I've had is how one
> > > can add additional forms when needed.
>
> > > For example, I have an input field called "links", which allows the
> > > user to add an arbitrary number of links. I know in Django, their
> > > admin interface allows a user to specify a field as being "inline"
> > > with a certain number of extra forms...Is there such an option in
> > > Symfony to manipulate widgets in such a fashion without anything fancy
> > > like javascript?
>
> > > I just want to be able to give users the option to add in multiple
> > > items for a particular entry, multiple forms doesn't have to be the
> > > answer I rely on, but it sounds like the most logical.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to