[Zope] how do I generate html for a given number of items

Baker, Dennis (sjmr) DBaker@CHW.edu
Thu, 23 Mar 2000 15:15:22 -0800


Try this 
http://yyy.zope.org/Members/jpenny/variable_length_forms

-----Original Message-----
From: sathya [mailto:linuxcraft@redspice.com]
Sent: Thursday, March 23, 2000 2:52 PM
To: zope@zope.org
Subject: [Zope] how do I generate html for a given number of items


sinde dtml does not provide  a " for  loop " structure 
how can I generate form fields  equivalent to the number of catalog items
somebody has choosen 
i.e
<form>
<for noOfTimes>
<input  type="text" name= ...
</for>
</form>
The dtml-in tag only accepts lists and such
 -- 
##########################
 necessity is the 
mother of invention
##########################

_______________________________________________
Zope maillist  -  Zope@zope.org
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 )