joel grimes wrote:
> 
> How do I do this?
> 
> I have a table with a field called SerialNumber.  I want to test it for null
> and return a non-breaking space if it's null.
> 
> Here's what I tried:
> 
> <dtml-if "SerialNumber = null">&nbsp;
> <dtml-else><dtml-var SerialNumber>
> </dtml-if>

<dtml-var SerialNumber null="&nbsp;">

-- 
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com

_______________________________________________
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