Copy link to clipboard
Copied
I am making javacsript plugin , here's the code , i am trying to get the input value , so i canhit a post api and send input's data into that , i tried all getfields methods and all , nothing working at all ,
Copy link to clipboard
Copied
The item_id values in the Dialog object must be 4 characters long. No more, no less.
Copy link to clipboard
Copied
The item_id values in the Dialog object must be 4 characters long. No more, no less.
Copy link to clipboard
Copied
Is this code in a JavaScript file? Adding a menu item can only be done in a folder level script at app initialization (or from the console). In either case the "createTopMenu" function is unnecessary. You'll also have problems with this code in the new 64bit UI, since the parent "File" menu has been moved to the new "Hamburger" menu, and new restrictions have been placed on creating menu items.
You'll find some information on creating popup custom dialogs and a dialog designer here:
https://www.pdfscripting.com/public/ACRODIALOGS-OVERVIEW.cfm