On Wed, Aug 5, 2009 at 11:16 PM, Berco Beute<[email protected]> wrote:
>
>> You forgot to set the prefix here, so the form that the user is
>> submitting their data from doesn't have the fields named correctly. You
>> need to set it up exactly the same way at this point as you did in the
>> POST path, with the exception of not prepopulating with data.
>
> Thanks, the missing prefix was indeed one issue, although
> prepopulating with data is not a problem. It didn't solve the problem
> though. The problem arises from the fact that I'm rendering multiple
> forms, but the user is POSTing back only one form. Each form has it's
> own submit field. How do I know which form was submitted? I've tried
> stripping the prefix from the subitted form, but that felt kind of
> hacky (and didn't really work).
>

how about hidden input?

--~--~---------~--~----~------------~-------~--~----~
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