On Sat, Aug 22, 2009 at 7:53 AM, Andew Gee<gee.webm...@gmail.com> wrote: > > Thank you for your help. > > I have managed to get the inlineforms to reproduce on my page, however > when I submit the form the extra inlines are ignored. I have printed > the formset when it hits the view and the new lines that I have added > have no values in them, the values that I enter in are not being > passed back by the request. Is this something that someone has seen > before? >
Yes, I've seen. It either means you are not correctly incrementing TOTAL-FORMS (and therefore the formset code won't look at the added parameters) or -- less probable -- you are not altering the name and id attributes when creating new form rows. The second point is less probable because you said that you can see the new fields on the server side, even though you only see them as empty. Another thing to check would be whether the said input fields exist twice inside your form, and the later overwrite the former when the browser is collecting the form fields' values. Matthias --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "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-users?hl=en -~----------~----~----~----~------~----~------~--~---