1 Reply Latest reply: Nov 5, 2014 1:01 PM by radzmar RSS

    Calculate numeric fields

    tallanwt Community Member

      I have a form with two numeric fields (gross_wt, tare_wt). I have a third field fill_wt (set as calculated-read only)

      topmostSubform.Page1.Fill_Wt::calculate - (FormCalc, client)

      fill_wt=gross_wt-tare_wt

       

      When I open the pdf form, I get

      pdf_err.jpg

      Pls. advise on correct scripting.

      Using Acrobat XI Pro, Livecycle ES4

        • 1. Re: Calculate numeric fields
          radzmar Community Member

          First, you should add spaces to your script to make it more readable.

          Then you should check that you've used the exact naming of your fields (names are casesensitive).

          I can see that the field is named Fill_Wt but in your script you've used fill_wt so I assume the other fields have use uppercase letters included.