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, 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, how can we
> achieve it.
>
> Thanks in advance,
> Sincerely,
> Sonal.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group
> athttp://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@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.