23 Replies Latest reply on Nov 19, 2014 2:00 PM by gkaiseril

    Help with custom calculation script.

    elleycue Level 1

      Hi, all. I've created a PDF with fillable form fields. This form was created to help my company's users balance their accounts to $0.00. The problem I'm running into is that if I enter an amount that will get the corrections total down to 0.00, I get an error message stating, "The value entered does not match the format to the field [ Total2 ]." I used a Simplified Field Notation as (D1+D2+D3+D4+D5)-(C1+C2+C3+C4+C5) for Total2. I've worked with HTML and C++, and while JavaScript looks similar, I haven't a clue as to how to add an IF condition for this situation.

       

      Any help is greatly appreciated!

      Thanks.