Please assist, i am doing a Monthly payment calculation field and when I put the field labels in the calculation the form returns errors. If I "hard code" the numbers it works perfectly. I have been pulling my hair out for hours and I give up....can you please assist.
This works:
Pmt(814000, 0.065 / 12, 25 * 12)
But this does not:
Pmt(LoanAmtRequested, Rate / 12, 25 * 12)
I'm assuming that you are using FormCalc in a LiveCycle form? If this is correct, then it's possible that the SOM path to the input fields is incorrect. To test this and get the correct SOM Path, try a simpler calculation, like this:
LoanAmtRequested + Rate
If you continue to get errors then there is something else wrong. With out specific information we can't give you any advice, so please be specific.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script