Re: [Zope] List from another list in DTML?

2000-10-15 Thread Kapil Thangavelu

Alexander Chelnokov wrote:
> 
> Hello All,
> 
> A form contains data items ['firstname','secondname','dofb' etc]
> and some "service" fields ['submit','sid','form','nform'].
> With REQUEST.form.items() all these fields are included in a single
> list. How can another list be created from the list which contains
> only data fields? Is it possible with DTML only?

form is an instance of the python cgi FieldStorage the docs included
with your python distro will give you more info.

try (untested)

REQUEST.form.values()

> --
> Best regards,
> Alexander N. Chelnokov
> Ural Scientific Institute of Traumatology and Orthopaedics
> 7, Bankovsky str. Ekaterinburg 620014 Russia
> ICQ: 25640913
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

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




[Zope] List from another list in DTML?

2000-10-15 Thread Alexander Chelnokov

Hello All,

A form contains data items ['firstname','secondname','dofb' etc]
and some "service" fields ['submit','sid','form','nform'].
With REQUEST.form.items() all these fields are included in a single
list. How can another list be created from the list which contains
only data fields? Is it possible with DTML only?

-- 
Best regards,
Alexander N. Chelnokov
Ural Scientific Institute of Traumatology and Orthopaedics
7, Bankovsky str. Ekaterinburg 620014 Russia
ICQ: 25640913



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