Re: CGI module: get form name

2006-04-12 Thread Tim Roberts
"ej" wrote: > >I'm not seeing how to get at the 'name' attribute of an HTML element. > >form = cgi.FieldStorage() > >gives you a dictionary-like object that has keys for the various named >elements *within* the form... > >I could easily replicate the form name in a hidden field, but there ought t

Re: CGI module: get form name

2006-04-12 Thread Ben Cartwright
ej wrote: > I'm not seeing how to get at the 'name' attribute of an HTML element. > > form = cgi.FieldStorage() > > gives you a dictionary-like object that has keys for the various named > elements *within* the form... > > I could easily replicate the form name in a hidden field, but there ought t

CGI module: get form name

2006-04-12 Thread ej
I'm not seeing how to get at the 'name' attribute of an HTML element. form = cgi.FieldStorage() gives you a dictionary-like object that has keys for the various named elements *within* the form... I could easily replicate the form name in a hidden field, but there ought to be some way to get d