Fillable Forms - Save As auto-populate file name from fields
Copy link to clipboard
Copied
We're looking to make the Save button be Save As and the file name auto-populate by some of the fields that are filled by the end-user. I've seen the various documentation about this but nothing seems to work. I'm also hoping that some of the fillable fields can auto-recognize html hyperlinks when pasted?
Thank you!
Copy link to clipboard
Copied
That's not possible. You can either:
- Show the user the desired file-name in a separate window, where they can copy it and then paste into the Save As dialog, or
- Save the file silently using the desired name, but that requires running the code from a privileged context, such as a script file installed on the local machine.
See these tutorials:
https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript
https://acrobatusers.com/tutorials/trust-and-privilege-in-acrobat-scripts
https://acrobatusers.com/tutorials/using_trusted_functions
Not sure what you mean by "auto recognize HTML hyper-links when pasted into text fields", but a script can't create a link in a text field, if that's what you mean.
Copy link to clipboard
Copied
Do you happen to know of a resource library of Adobe-related Javascripts?
Copy link to clipboard
Copied
There are several. I offer many (paid-for) tools on my website: https://www.try67.com/tools
There are also many free resources in the site I linked to earlier.