Copy link to clipboard
Copied
The following denotes a total rewrite of my previous post in an effort to sollicit a response from members of the Acrobat community well versed in designing/developing interactive PDF forms using Javascript and the JS object as follows:
Reference a 1-page interactive PDF form providing unsurpassed speed/performance with a small footprint (well under 500K) to serve as a replacement for a multipage PDF form containing 100 pages or more with a large footprint in MB. To accomplish this task, the 1-page PDF employs form fields with values assigned from a JS object converted to a JSON string stored inside a hidden text field that resides on the form. In using the form, the JSON string is temporarily converted to a JS object to temporarily assign values to (populate) a number of PDF form fields corresponding to JS object property name-values which process is totally dependent on the selection of an item/value provided in a combo box drop-down list. In short, the form performs similar to a database application whereby the PDF form fields serve as a front end and the JS object as a back end providing the necessary data for the form. In essence, the PDF form provides a way to both view and edit data contained in the JS object. As such, this methodology allows a 1-page interactive PDF form to perform the task of a multi-page interactive PDF form containing 100 pages or more. However, while the 1-page PDF form initially performed as intended without issue, I have recently and suddenly experienced an issue with several 1-page interactive PDF forms of this same design where the values written to the form fields used to assign/edit values related to corresponding JS property name-values are no longer being written to the JS object property name/values as b4 in which event some of the values written to the form fields mysteriously disappear from view when changing data to be viewed (related to a change in the selection provided by the combo box) and then returned to the former view. Point is this makes no sense whatsoever since I have one interactive PDF form using virtually the same scripts and JS object name-values (with exception of minor descriptive text modifications to accommodate the purpose of each 1-page PDF form, i.e., manage passwords, credit cards, auto insurance policies, etc.) that performs as intended. In an attempt to resolve this issue I have checked for viruses and malware that turned up negative; uninstalled/reinstalled Adobe Acrobat Pro 20 to no avail including using the Adobe cleanup tool; uninstalled Adobe Reader DC version 2015 (used solely for testing purposes) to no avail; used Adobe Acrobat built-in repair installation tool to no avail; checked the scripts numerous times for which there exist no syntax, undefined, spelling or other errors; tested computer memory using Windows 10 built-in memory tester and memtest passed all tests. In reality, I have literally gone stir crazy in my attempt to resolve this issue. Any repsonse to this subject matter is most appreciated. Thank you ahead of time. My apology for the novel but I believe the length was justified given the information required.
Copy link to clipboard
Copied
Resolved. Fortunately, it had to do with some minor changes I had made to several JS in attempting to consolidate the scripts used.