Re: Dynamic Forms with Varying init Arguments

2011-08-19 Thread SixDegrees
> To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > -- View th

Re: Dynamic Forms with Varying init Arguments

2011-08-19 Thread wayne
On Aug 19, 1:58 pm, SixDegrees wrote: > I'm no longer at the computer where my code resides. But "you are wanting to > call formset_factory > and have it pass along a parameter to the Form that the formset > contains" is pretty much what I want to know how to do. Well, the short answer is that yo

Re: Dynamic Forms with Varying init Arguments

2011-08-19 Thread SixDegrees
ups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-user

Re: Dynamic Forms with Varying init Arguments

2011-08-19 Thread wayne
On Aug 19, 12:41 pm, SixDegrees wrote: > The parameter in question is a primary key that is used to generate a series > of fields within the form. It is passed to the form __init__ routine, and > can vary from one form to another. So, given a formset, I want to tell the > formset "This is the para

Re: Dynamic Forms with Varying init Arguments

2011-08-19 Thread SixDegrees
ew form manually. But there doesn't > seem to be a way to add it to the formset. > > I would much prefer to stay away from JavaScript and other client-side > approaches, other than passing the single parameter used for > initialization. > -- View this message in

Re: Dynamic Forms with Varying init Arguments

2011-08-19 Thread wayne
On Aug 19, 10:44 am, SixDegrees wrote: > I'm using formsets to implement a dynamic form as > describedhttp://www.mancoosi.org/~abate/dynamic-forms-with-djangohere . > However, the > forms created by the formset want a parameter passed that determines the > contents of the form during initializat

Dynamic Forms with Varying init Arguments

2011-08-19 Thread SixDegrees
much prefer to stay away from JavaScript and other client-side approaches, other than passing the single parameter used for initialization. -- View this message in context: http://old.nabble.com/Dynamic-Forms-with-Varying-init-Arguments-tp32296362p32296362.html Sent from the django-users mailing