Zope Python Script Iterate over form post variables

The form post vars are passed as a dictionary object. From there, we can use the dictionary keys function to retrieve the list of fields.
for key in context.request.form.keys():
	print context.request[key]
Posted by
Snippet Viewed 1789 times.

Share your Zope Python Script code snippets:

  • Get some recognition & link back to your site.


Submit | Browse

Most Recent zope python snippets

Most Viewed