Windows Explored

Everyday Windows Desktop Support, Advanced Troubleshooting & Other OS Tidbits

Archive for August 20th, 2010

User Request – Automatically Insert Current Date Into PDF

Posted by William Diaz on August 20, 2010


What the user wants, the user gets. Especially when they tell you someone else has it or someone smarter than you did this for them a long time ago. The request here was to automatically populate several date fields in a PDF with the current date and time the PDF was opened. The idea was to expedite the filling out of the form so that it could quickly be printed out and sent out for hand delivery. 

Most PDF editing apps can accomplish with a little Java script. In the example here, I am using the PDF Converter Professional application but the steps below are similar for Adobe Acrobat or any other PDF editor. The task is to link the Java script to the various text date fields. By default, the text fields are named Text1, Text2, etc. or they can be renamed.

Once you know the field name, go to Document > JavaScript > Document JavaScripts > Add. Read the rest of this entry »

Posted in Uncategorized | Tagged: | Leave a Comment »