![]() |
||||||||
|
|
||||||||
|
||||||||
|
In the JavaScript Editor, enter the code as illustrated left. For an easy copy and paste option, download my Acrobat Forms sample file below.
Note: the code at left will place a page number in the top right corner of each PDF page. To place the page number in a different location, you need to change the coordinates listed between the brackets [...] in the first line of code. When finished in the JavaScript Editor, close the dialog box and save the edits. Click on Set Action when returned to the Add an Action dialog box. Then click OK in the Fields Properties dialog box. To add the page numbers, click on the Button field you created. Delete the button after creating the page numbers. You can also paste the button into a template where you can keep different JavaScripts for repeated use. |
|||||||