Max M wrote:

Dictionary keys are unordered.

You need to store the order of the keys somewhere else. Ie. to have a list in your form with the keys in order, Or to name them alphabetically and then sort the keys.

...or just do something like:


keys = REQUEST.form.keys()
keys.sort()
for key in keys:
  print key
  print REQUEST.form[key]

return printed

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk


_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to