You are using Acrobat Form Tool code, so unless you are making your form with Acrobat, I would use the syntax and languages of LiveCycle Designer.Look in the scripting reference for the 'Sum' function and examples of how to write equations in LiveCycle Designer. The 'Scripting Reference' is under Li...