Hi, All
I'm new to ADOBE programming, but have a lot of experience with the mainstream JavaScript (web).
I'm completely lost with this problem and any help would be greatly appreciated.
===================================
I have a form with several custom classes. Each custom class is a script object on the form level.
I also have a data connection to an XML file - but no fields for this file (the idea is to read the data from it and populate the form dynamically based on multiple conditions.
On the form I have a button with a CLICK event that does the following:
- uses some of the custom classes to build some data structures and form view objects.
- loads data from the XML with xfa.host.importData("");
- uses some more of the custom classes to populate form view objects with data from the XML.
The form is supposed to be used in ACROBAT without any server connections.
I test the form in ACROBAT PRO (cannot execute importData() in Designer).
After the call xfa.host.importData("") all my custom classes are lost, i.e. are unreachable in code - the debugger shows exception on 1st statement where a custom class is used.
===================================
I'll provide any additional info (code, PDF, XML) as needed.
Thanks,
Gene