2 Replies Latest reply on Aug 11, 2010 9:34 AM by Stewbinson49

    Java Script sum calculation

    Stewbinson49 Level 1

      Hi I'm looking for help for what I suppose would be an easy question based on other posts I've read.

       

      I'm new to livecycle ES and I have spent the better part of my adult life figuring out how to make new form fields appear after selecting a button.  Each entry has a "cost" numeric field (each with the same binding name) and at the bottom of the form I have a "total" num field which I want to display the sum of all the completed cost fields.  I have used a script that is supposed to sum up the same instance of the field name (ex. cost[*]) but it doesn't work.

       

      Any help would be appreciated.

       

      Stewb