I create a form and tried to use Java Script to calculate the “Qty” * “Rate” = “InvoiceDetails.Amount” by use ” <calculate> <script> function myFunction(a, b) { return a * b; } document.getElementById("Amount").innerHTML = myFunction(Qty, Rate); </script> | </calculate>” However I get error shows “Script Failed (Language is formcalc context is xfa(0).form(0).Page1(0).InvoiceDetails(0).Row(0).Amount(0) “ how can I fix it? |
Solved! Go to Solution.
Views
Replies
Total Likes
You've posted in the Acrobat JavaScript forum, but your problem looks like it's related to LiveCycle Designer. I suspect that you are using JavaScript code, but the language type is set to FormCalc and not JavaScript.
I've moved your question to the LiveCycle Designer forum.
Views
Replies
Total Likes
You've posted in the Acrobat JavaScript forum, but your problem looks like it's related to LiveCycle Designer. I suspect that you are using JavaScript code, but the language type is set to FormCalc and not JavaScript.
I've moved your question to the LiveCycle Designer forum.
Views
Replies
Total Likes
and how to switch language code from formcalc to java Script?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies