Re: Increase number of rows of a formset dynamically

2010-04-27 Thread Sonal Breed
Following link helped me solve the problem: http://stackoverflow.com/questions/2448970/django-adding-inline-formset-rows-without-javascript On Apr 27, 10:31 am, Sonal Breed wrote: > Hello all, > > I have a ModelFormSet defined as > > RowFormSet = modelformset_factory(Row,

Increase number of rows of a formset dynamically

2010-04-27 Thread Sonal Breed
Hello all, I have a ModelFormSet defined as RowFormSet = modelformset_factory(Row, extra=7) The requirement is to give user capability to add more rows to the displayed form so that now total number of rows in the formset increases by 1. Can we dynamically add more rows to the formset? If so,