Dimitri, Thanks for the response. I am still having problems in that our activity only buys from other companies. I checked out the sample form and have tried to use it as an example but the unit price (in the sample form) is tied to a part number the "company" sells, which means that the total price is also tied to the part number. Our purchase request needs to have the unit price entered by the requestor. How can I adjust the the "cost" fields to reflect a manually entered unit price?
Quantity * Price
That's it. FormCalc makes this very easy. Now if the Fields are at different places in the Form hierarchy there is a little more to the Field names. You can read all about it in this doc:
[url=http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf]http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf[/url]
There are plenty of other LiveCycle scripting docs at:
[url=http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=330467]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=330467[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script