On Sat, 2007-03-31 at 01:32 -0700, Mark Engelberg wrote:
> When there are multiple submit buttons, how do you
extract the clicked
> one from the request.POST?
Each button in the form can have a different name. Only the
button that
was selected to cause the form submission to happen will be
included in
the result set submitted back to the server. So you can look
for your
button names and act on whichever one is present.
Regards,
Malcolm
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|