0

I am trying to create two different formfields for my django form.

I have written a form which includes both the formfields.

I am using jquery.formset.js But in template, I am calling single function for both the formfields, using $(formid tbody tr).formset() , But two add and remove buttons are coming together.

Please, help.

4

1 に答える 1

0

1 つのページに複数のフォームセットを作成する方法について明確な説明があります。

https://code.google.com/p/django-dynamic-formset/wiki/Usage#Using_multiple_Formsets_on_the_same_page

于 2013-09-26T16:05:04.800 に答える