if (form[qty#k#] = '')
{
newqty = 0;
}
else
{
newqty = form[qty#k#];
}
The brackets are, actually, optional in this case, but I always always
always use them. That way, if I need to add more lines to the clause, I
don't fortet to add them. :-)
-- Ben Doom
Programmer
I believe it is:
cfscript
if(form[qty#k#] IS )
newqty = 0;
else
newqty = form[qty#k#];
/cfscript
Try to avoid the evaluate if possible.
Steve
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21,
I think you want
cfscript
if(form[qty#k#] is ) newqty = 0;
else newqty = form[qty#k#];
/cfsciprt
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia
3 matches
Mail list logo