[Zope] Generic e-mail processing form

Paul Winkler pw_lists@slinkp.com
Tue, 8 Oct 2002 10:11:49 -0700


On Tue, Oct 08, 2002 at 12:28:20PM -0400, Chris Muldrow wrote:
> We've got some legacy e-mail forms on some sites that used a single, generic
> Perl script to process form fields and basically feed the name of each form
> element with the values entered to an e-mail. We've set up a generic e-mail
> form processor, but the problem with it is that iterating through
> REQUEST.form elements sorts the elements alphabetically, rather than in the
> order in which the elements are listed in the form. Any ideas on how to pull
> the form variables in the order in which they're listed?

zope's REQUEST object does not preserve order - it's a dictionary.

--

Paul Winkler
"Welcome to Muppet Labs, where the future is made - today!"