Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Script Failed

Avatar

Level 2
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?
1 Accepted Solution

Avatar

Correct answer by
Level 3

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.

View solution in original post

0 Replies

Avatar

Correct answer by
Level 3

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.