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

Calculation Error message

yolandac1
Level 1
Level 1

Hello, I have a form that I am trying to use calculations but receive the following error message -

 

Script failed (language is formcalc, context is

xfa[0].topmostSubform[0],Page1[0].CURRENT_TotalRow1[0])

script=/*AFSimple_Calculated("PRD", new Array ("Current QTYRow1", "UNITPRICERow1")):*/

 

Error: syntax error near token '/' on line 1, column 1

Script failed (language is formcalc, context is

xfa[0].topmostSubform[0],Page1[0].NEW_TotalRow1[0])

script=/*AFSimple_Calculated("PRD", new Array ("New QTYRow1", "UNITPRICERow1")):*/

 

Error: syntax error near token '/ on line 1, column 1.

 

I'm hoping not to have to re-do this form and there is an easy fix. The language on all the fields is FormCalc.

 

1 Reply
Kosta_Prokopiu1
Employee
Employee

I would not expect a /* in your script. FormCalc uses either semicolon or // as comments. My guess is that the error relates to the /*...*/ of the script line.