Python CGI and multiple forms on a web page

Maan Hamze MHAMZE at austin.rr.com
Sun Aug 19 02:58:18 EDT 2001


I have a web page with many separate forms on it.  Each form is associated
with a Post action that runs the same or a different Python CGI script.  I
am using the module cgi.py
For each script, I am using FieldStorage to access a form's elements.
I want to be sure of the following:
Does FieldStorage in the CGI script that is being run by submitting Form A
(remember, the web page has many forms:  A, B, C etc....) apply strictly on
Form A so that the Dictionary available to me has only the elements of Form
A?
I know, the question sounds naive (and it may be), but I want to be sure.
Thanks,
Maan






More information about the Python-list mailing list