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

Receiving Script Error only on Reader extended PDF

Avatar

Level 1

I'm working with a user who created a Livecycle PDF.  They have formulas to sum rows and columns.  Everything works fine in preview mode.

However the PDF starts throwing an error when I reader extend it.  I'm not sure why or what I need to do to fix it.

Script failed (language is formcalc; context is xfa[0].form[0].form1[0].Table2[0].Row3[4].NumerciField8[1])
script=$=Row3[0].NumericField2+Row3[1].NumericField3[1]

Error accessor 'Row3[1].NumericField3[1]' is unknown.
Script failed (language is formcalc;context is
xfa[0].form[0].form1[0].Table2[0].Row5[9].NumericField41[0])
script=$=Row3[2].NumericField8+Row4[4].NumericField60+xfa.resolveNode("#
subformSet.#subform[13].NumericField8")=Row5[3].NumericField8+Row5[8].NumericField8

Error accessor 'Row3[2].NumericField8' is unknown.
Script failed (language is formcalc;context is
xfa[0].form[0].form1[0].Table2[0].Row5[9].NumericField41[1])
script=$=Row3[2].NumericField8[1]+Row4[4].NumericField61+xfa.resolveNode(
"#subformSet.#subform[13].NumericField8[1]")+Row5[3].NumericField8[1]+
Row5[8].NumericField8[1]

Error access 'Row3[2].NumericField8[1]' is unknown

2 Replies

Avatar

Level 10

In which event of the field (initialize/formReady/docReady) the script has been written?

Can you share the pdf or a sample form to tryout at myside?

nithiyanandam.dharmadass@igate.com

Avatar

Level 1

I think it is fixed.  I deleted the formulas and re-entered them.  I also renamed the fields to something more descriptive rather than the default assigned in the form.  That seems to be working.

If you are really curious a current broken copy is available at:  http://www.mdt.mt.gov/publications/docs/grants/MDT-TPL-003-GRANT_APP.pdf

I haven't published the updated version as I want the user to test it prior to release.