Is there a way to display the forms file name, into a text field?
Example: The form's file name is "MyForm.1.01.pdf"
I would like to display "MyForm.1.01" in a text field on the form.
If my form is saved and goes up a revision to say "MyForm.1.02"
"MyForm.1.02" is then displayed in the text field.
I was thinking, this could be on the pre open event, so that when the form is saved, it would display the new revision when the form is next opened?
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
The following will get the file name:
this.rawValue = event.target.documentFileName;
I would put this in the docReady event, as this event fires only once, when the form opens.
There is a sample here: https://acrobat.com/#d=ZnxO-dlXXFDS0GvYcQk2NQ
Hope that helps,
Niall
Views
Replies
Total Likes
Hi,
The following will get the file name:
this.rawValue = event.target.documentFileName;
I would put this in the docReady event, as this event fires only once, when the form opens.
There is a sample here: https://acrobat.com/#d=ZnxO-dlXXFDS0GvYcQk2NQ
Hope that helps,
Niall
Views
Replies
Total Likes
perfect thanks
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies