for key in context.request.form.keys():
print context.request[key]
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.
Snippet Viewed 1789 times.
Share your Zope Python Script code snippets:
- Get some recognition & link back to your site.