To help me with the tedious business of creating forms, I would like to
make a generic field gadget.

I thus have a dtml-document which has a number of attributes: 
 Eg: fieldname = 'userid'
     fieldname-error = 'userid-error'

But I now want this dtml-document when rendered to read the values of
fieldname, and fieldname-error, and then generate the dtml equivalent to
this ...

<dtml-if userid>
 value="<dtml-var userid>"
</dtml-if>> <br>
<dtml-if userid-error>
 <font size="2" color="red"><dtml-var userid-error></font><br>


I presume the MetaPublisher product does this in rendering the dtml to
another final dtml-document.

Regards,  Graham Chiu
Powered by Interbase and Zope.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to