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.
FormCalc provides coding brevity and functions that are very good for calculating table row and column totals.
For example, to calculate a row total.
// form.page1.budget.costs.row.total::calculate - (FormCalc, client)
$.rawValue = beer + food + other
For example, to calculate a column total.
// form.page1.budget.totalCosts.totals.food::calculate - (FormCalc, client)
$.rawValue = sum(form.page1.budget.costs.row[*].food)
This worked. Thanks Steve.