[Zope] Iterating through fields in a form

Thomas B. Passin tpassin@mitretek.org
Tue, 15 May 2001 14:25:25 -0400


[Bruce Eckel]


> How do I iterate through the fields in a form, inside the
> form handler? The REQUEST object has the form fields and
> way too much other stuff...
> 

<title> See A Request</title>
<ul><dtml-in "REQUEST.form.keys()">
     <li><dtml-var sequence-item> values:<ul>
     <dtml-in "REQUEST.form[_['sequence-item']]">
             <li><dtml-var sequence-item><br>
     </dtml-in>
     </ul>
</dtml-in>
</ul>

Cheers,

Tom P