+----[ [EMAIL PROTECTED] ]---------------------------------------------
|
| Perhaps you can suggest a simple way to do something like the following:
| 
| <dtml-if "REQUEST.form.has_key('foo')">
|   <dtml-let previouslyEnteredValue="REQUEST.form['foo']>
|      <input type=text ... value="&dtml-previouslyEnteredValue;">
|   </dtml-let>
| <dtml-else>
|      <input type=text ... value="">
| </dtml-if>

Replace the whole mess with:-

<input type="TEXT" value="&dtml.missing-foo;">


-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |[EMAIL PROTECTED]| 

_______________________________________________
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 )

Reply via email to