getting all form data (ZPublisher)
Hi! How could I get access to form data in a ZPublisher module (I don't use zope, only ZopeHTTPServer and ZPublisher)? I want to make a simple module which puts all the data submitted through a form file. Example: http://127.0.0.1:9673/write?field1=heisst&field2=hier&field3=jemand&fiel d4=duentsch File output.txt: field1 heisst field2 hier field3 jemand field4 duentsch The fields name should not be hardcoded in the module. I don't want: def write(field1,field2,field3,field4): Oliver
At 02:38 PM 7/10/99 +0100, O.l.i.v.e.r T.h.u.n.s wrote:
Hi!
How could I get access to form data in a ZPublisher module (I don't use zope, only ZopeHTTPServer and ZPublisher)? I want to make a simple module which puts all the data submitted through a form file.
REQUEST.form gives you a dictionary of all the submitted fields.
participants (2)
-
O.l.i.v.e.r T.h.u.n.s -
Phillip J. Eby