Can’t get complex function to work
-
Hi.
I’m trying to calculate a field based on value from one numeric field and one checkbox value.
I can’t get it to work as my function in the calculated field doesn’t show anything. Don’t know why.
Fieldname8 is my checkbox where I have assigned value 1,2,3,4 and checked “Value to submit->Choice value”.
Can you help?
(function(){ if(fieldname8 = 1) return fieldname1*0.040705; if(fieldname8 = 2) return fieldname1*0.04652; if(fieldname8 = 3) return fieldname1*0.052335; if(fieldname8 = 4) return fieldname1*0.05815; })();
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can’t get complex function to work’ is closed to new replies.