PDF Form Button to run Privileged Script
I just got quite a bit of help on another thread and got my script up and running perfectly (Here is the link if anyone wants context: Saving PDF form to specific folder based on field data ).
Now, I'm wanting to run this script via a form button but I'm running into the expected privilege issues you'd expect since I'm running it as Trusted. Is there anything I need to do to my code to make this possible or is it a security setting that will need to be changed?
Here is the script: [JavaScript] Attempt - Pastebin.com
Thanks again everyone, y'all have been a huge help!
