Skip to main content
philipph76472654
Participant
December 1, 2023
Question

Button to safe PDF with name suggestion out of formular fields

  • December 1, 2023
  • 2 replies
  • 386 views

Hello all

 

Is it possible to use a js to give the users a suggestion for a file name? i've tried a direct save button set together with 3 Formular fields. But it will safe only the document itself. It seems that i need that thrust function but i've no acces to C: to change anything in my company. Now i want to try to open the save as window with the button and give the user the possibillity to use the suggestion name set together with the 3 fields. He only have to take the correct directory and folder.

Is there a code that is easy to use like copy paste?

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
Community Expert
December 3, 2023
Acrobate du PDF, InDesigner et Photoshopographe
try67
Community Expert
Community Expert
December 1, 2023

If you can't install a script on the local machine the best you can do is display the desired file-name to the user (using app.response), where they can copy it, and then open the Save As dialog (using app.execMenuItem("SaveAs")) for them to paste it in. You can't force them to save the file under this name, though, or populate the Save As dialog with the desired name automatically for them.