[ZWeb] dtml-if nested statement

Mike Tran mtran@shufflemasterrd.com
Mon, 11 Mar 2002 16:00:28 -0700


HI,

I want to check variables A,B, and C on my form to see if they are all true 
before i call on a method to update the database.  Can someone show me how to 
do something similar to this?

<dtml-if "A and B and C ">
<dtml-call SQLinsertData> 
<dtml-else>
<h3>Missing Data:</h3>
<dtml-unless>
<LI><dtml-var A></LI>
<LI><dtml-var B></LI>
<LI><dtml-var C></LI>
</dtml-unless>
</dtml-if>

Thanks,
-- 
Mike