Should I use Simplified field Notation or Custom Calculation Script? I cannot get either to work. Adobe Acrobat XI Mac OS
I simply have 9 columns trying to calculate 9 site body fat in a .pdf form. I chose column 5 randomly for this example that is not working. I have no preference over option 1, or option 2. I just need the form to work. Thanks in advance!
OPTION 1: When I try Simplified Field Notation it does the calculation properly buuuuut when I clear the field I get the following error: The value entered does not match the format of the field [s9s4]
(((CHESTTTT+BICEPPPP+TRICEPPPP+SUBSCAPULARRRR+MIDAXILLARYYYY+SUPRAILLIACCCC+ABDOMINALLLL+THIGHHHH+MEDIALCALFFFF)*27))/(BODYYYY)/100
OPTION 2: When I try Custom Calculation script I cannot click OK to save the script due to a syntax error that I cannot find: SyntaxError Missing ; before statement
var m=this.getField("CHESTTTTT");
var n=this.getField("BICEPPPPP");
var o=this.getField("TRICEPPPPP");
var p=this.getField("CHESTTTTT");
var q=this.getField("BICEPPPPP");
var r=this.getField("TRICEPPPPP");
var s=this.getField("CHESTTTTT");
var t=this.getField("BICEPPPPP");
var u=this.getField("TRICEPPPPP");
var v=this.getField("s9s5");
var w=this.getField("BODYYYYY");
v.value=(((m.value)+(n.value)+(o.value)+(p.value)+(q.value)+(r.value)+(s.value)+(t.value)+(u.value))*27)/(w.value))/100;
The red portion is where I think my issue is. The field is formatted for % and needs to be.
