Hello,
I am still pretty new to the all that Adobe can do. So I will try to explain and be a clear as possible.
I am using Adobe LiveCylcle Designer and attempting the following:
1. I have a drop-down with 5+ List Items. In the Binding Tab, I have specified Item Values for each List item. I also have a check box, that if checked value $2.00.
2. The "item values" are being populated in a table based, of course, on what you select. Example: Dropdown=Apples (value $1.00), table displays $1.00.
All that seems to work fine, UNTIL, I go to the table, add a new row, and try to add (SUM) the Dropdown value with another row (pulled from a check box value).
I can get the value of the check box to sum, but not the value from the dropdown list. I am sure that this is possible and probably pretty simple.
Thank you for any assistance with this issue.
This is actually pretty easy to do with FormCalc. The trick, as with all LiveCycle scripting, is to know how to form the SOM path.
For example, here's a FormCalc calculation script:
Sum(MyTable.Row1[*].price) + MyOtherTable.Row0.OtherValue
In this case the SOM path "MyTable.Row1[*].price" references the price field in all instances of "Row1" in "MyTable". The SOM path "MyOtherTable.Row0.OtherValue" references a field named "OtherValue" which is in "Row0" of "MyOtherTable".
Watch this video:
Scripting LiveCycle Forms
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script