Sandra Chong wrote:
> How does Zope's REQUEST object decide what order to store the form keys?
> I've got a form with fields in order a, b, c, d - but in REQUEST.form,
> they're stored out of order.
> This is causing quite a big problem, as I'd like to dynamically
> form values in order after the form has been submitted.
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.
regards Max M
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -
- [Zope-dev] Order of Form Keys in REQUEST Sandra Chong