Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum. |
Save pdf using field names |
Post Reply ![]() |
Author | |
Trainman ![]() New Member ![]() Joined: 12 Apr 2017 Location: England Points: 3 |
![]() ![]() ![]() ![]() Posted: 12 Apr 2017 at 6:02pm |
I'm new to this forum and new to javaScript, so sorry if this question is simple.
I would like to save a form before it has been signed, as I believe once its been signed you can not edit the form. The question is, how to save the form using two fields from within the form, as the pdf's name. i.e. IAG.pdf to ThomasSmith.pdf (First Name and Surname) Trainman |
|
MB
|
|
![]() |
|
Sponsored Links | |
![]() |
|
Merlin ![]() Member ![]() ![]() Joined: 03 Jun 2012 Location: 43.95 N / 4.82 Points: 46 |
![]() ![]() ![]() ![]() |
Hi.
This requires an application-level JavaScript, this could not be done from a PDF without an user prompt. |
|
![]() |
|
Trainman ![]() New Member ![]() Joined: 12 Apr 2017 Location: England Points: 3 |
![]() ![]() ![]() ![]() |
Merlin
Thank you for your reply, I take it you mean a user prompt, is that from say then user pressing a button to do this. Trainman |
|
MB
|
|
![]() |
|
gkaiseril ![]() Senior Member ![]() Joined: 15 Jul 2011 Location: USA Points: 4088 |
![]() ![]() ![]() ![]() |
Not only do you need to provide a button, you also must install or have the user install a custom JavaScript file in a specific location on their system.
[URL=How to Save a PDF with Acrobat JavaScript][https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript/URL] by Thom Parker. There are some changes after this article was written that require additional coding and |
|
![]() |
|
Trainman ![]() New Member ![]() Joined: 12 Apr 2017 Location: England Points: 3 |
![]() ![]() ![]() ![]() |
Thank you for this link, I will look at this and see if my knowledge is up to this.
|
|
MB
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |