I have several forms each having a hidden field that identifies this form...I want to check for this field in my view then based on the result determine which form will be processed. How should i go about this?
+3
A:
You should be using Django Forms. They are very powerful and quite extensible.
geowa4
2009-12-17 19:21:24
This is what I'm using...thnks
Stephen
2009-12-18 06:13:55
A:
As long as the data is passed to the view in the post you should be able to grab it:
if request.method == "POST":
if "hidden_field_name" in request.POST:
## do something
f4nt
2009-12-17 19:26:14