On Mar 26, 5:07 pm, Continuation <selforgani...@gmail.com> wrote: > So I can have 2 forms with 1 submit buttons, right? > > For some reason I was under the impression that there has to be an 1:1 > correspondence.
Form objects don't generate the markup for <form /> and submit buttons parts - this is something you have to by yourself in the template. So yes, you can render as many form as you want in a same <form> tag. Note that if you have fields by the same name in both forms, you'll need to know which field belongs to which form - good news, you can pass a "prefix" when instantiating the Form object, it'll use it to prefix HTML form controls names during rendering and then strip them during validation. -- 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.