Re: Allow visitor to add a form to a formset

2013-05-29 Thread Cody Scott
My issue was that I was putting my form_name in the cp['form_name-TOTAL_FORMS'] and it is always just form. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to djan

Re: Allow visitor to add a form to a formset

2013-05-29 Thread C. Kirby
It's actually not the most straightforward process. Here is a jquery plugin that will help you: http://code.google.com/p/django-dynamic-formset/ And here is a way to do it via POST without using javascript: http://brantsteen.com/blog/django-adding-inline-formset-rows-without-javascript/ On Wed

Allow visitor to add a form to a formset

2013-05-29 Thread Cody Scott
I have a form with one field for emails. I would like to allow the visitor to add another email field. What do I need to do to allow the user to create another form? #following the docshttps://docs.djangoproject.com/en/1.5/topics/forms/formsets/#adding-additional-fields-to-a-formset#I don't se