IF AND Statements
-
Hi,
Is it possible to use If And statements?
For example:
(function(){
if(fieldname35 < 900) return 0;
if(fieldname35 < 1800 AND fieldname35 >=900) return 50;
if(fieldname35 < 2700 AND fieldname35 >=1800) return 100;
if(fieldname35 < 3600 AND fieldname35 >=2700) return 150;
if(fieldname35 > 3600) return 99999;
})();This isn’t returning any value, what have I done wrong?
Thanks,
Gregor
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘IF AND Statements’ is closed to new replies.