Assign/copy a text field value from one PDF to another containing a text field with the same name
Given an interactive PDF form containing a text field used to store a JSON (string) object containing data to populate form fields, I am looking for an alternative method (as opposed to requiring the end user to resort to cut and paste) to copy the JSON (string) data to a text field of the same name into an updated (renamed) version of the PDF form. To this end, I would prefer adding a menu item to my existing popup menu to activate a custom script to perform this task in one click of the mouse. All considered, what would be the best way to accomplish this task, i.e., using a global variable, import/export methods, from inside a custom script? Thank you ahead of time. Oh, lest I forget, any javascript method used needs to be supported using the Free Adobe Reader version 20 or greater. Thank you ahead of time.
