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
<[email protected]> wrote:
> On Sat, Aug 22, 2009 at 7:53 AM, Andew Gee<[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to