Raymond and Steven, you are correct by using if(form["qty#k#"] is ""). When writing 
CFSCRIPT code, you use the same comparison and assignment operators that you would use 
in any CF tag.

To assign a value:
variablename = "value";

To check if equal:
if ( form.something eq 3 ) ...

To use modulo:
x = y mod 10;

And so on.

Mike Mertsock
Alfred University Web Team

>I think you want
>
><cfscript>
>if(form["qty#k#"] is "") newqty = 0;
>else newqty = form["qty#k#"];
></cfsciprt>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to