If statement
-
Thanks for this plugin, really awesome. Am trying to figure out what am doing wrong. I have a field named “total charges” what I want is for it to be determined by what users entered in “fieldname2.” if the number entered in fieldname2 is <=50 then it should be fieldname2*1 else if the number is >50 thne it should be fieldname2*fieldname2. This is the formula I have:
(function(){ if (fieldname2<=50)return fieldname2*1;} else if(fieldname2>50)return fieldname2*2;}
What am I doing wrong?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘If statement’ is closed to new replies.