What JavaScript I use to add the name of the file to a text field?

Without being a JavaScript novice, it is a JavaScript that I can cut and past which would automatically add the file name to a text field in the form when the form is opened?

Thank you very much.

Yes, copy the following code:

this.getField("Name_of_field").value = this.documentFileName;

Tags: Acrobat

Similar Questions

Maybe you are looking for