Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Script object code not seen in Javascript Debugger

Avatar

Former Community Member
I am trying to debug a form sample from Acrobat 7.0 and Designer 7.0 package.

This is Purchase Order form located in:

C:\Program Files\Adobe\Acrobat 7.0\Designer 7.0\EN\Samples\Purchase Order\Interactive\Forms\Purchase Order.pdf



The form has two Javascript functions partNoScript and countryScript. The functions are Script Objects located in folder form1/purchaseOrder/(Variables) and can be seen in Designer.

The script countryScript is called from dropdown drpOrderedByCountry on Initialize and Change events and dropdown drpOrderedByStateProv on Initialize event.



For the learning purpose I am trying to debug this code using Javascript Debugger in Acrobat 7.0.



So in the Debugger I can see the code for the events. It is in XFA folder:

countryScript.getCountries(this).



But where is this function code?



Anyway - I put a breakpoint there hoping that Step Into will take me into the function code. But this didn't happen.

So I am unable to debug the function.



How I could debug this function?



Thank you,

Tatyana
0 Replies