Well...I don't know what happened but I have put my loop back in and now it works. I cannot get the problem to reproduce. I must have had something out of place but I don't know what, but it works now which is what I need.
So again thanks for your help. Andrew On Aug 22, 7:27 pm, Andew Gee <gee.webm...@gmail.com> wrote: > I believe it wa the last of your suggestions, I was wrinting out the > fields of the main form individually and somehow they must of been > overwriting the inlineforms fields. I removed the loop that was doing > the main form and just used the form object and it worked. So i need > to go back and look over the fields to see why it was being > overwritten. > > Thanks very much for your help. > > Andrew > > On Aug 22, 5:13 pm, Matthias Kestenholz > > <matthias.kestenh...@gmail.com> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---