[Zope] REQUEST.form variables order
Tino Wildenhain
tino at wildenhain.de
Wed Oct 26 08:54:14 EDT 2005
...
>>And how exactly would that help if your script isnt expecting the new
>>fields anyway?
>>
>>I'd use the :list and :records modifier accordingly for keeping
>>ordering where that matters.
>
>
>
> The thing is that there is possibility to change fields order by the mean of
> WYSIWYG editor by the user. If he change order I would expect to get the
> same order in REQUEST object.
You cant. If you need to maintain order of fields, use :list or :records
e.g.
<input type="text" name="field:list" />
<input type="text" name="field:list" />
and so on.
Then you get a list for field and the elements are in the expected order.
You might read on that matter a bit:
http://zopewiki.org/ZPublisher
More information about the Zope
mailing list