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

    Calculate numeric fields

    tallanwt

      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 Adobe Community Professional & MVP

          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.