Previous | Next | (P-PDF) JavaScript
Topic: Insert field - Printout Date
Conf: (P-PDF) JavaScript, Msg: 118289
From: JavierL
Date: 9/6/2004 08:38 PM
Hi, define the actions:
this.setAction("WillPrint", "_myFunction1_();");
this.setAction("DidPrint", "_myFunction2_();");
and create a field for the date "_dateField_" that will be hidden. When document is going to be printed, "_myFunction1_" will be called. It should assign the actual date to "_dateField_" and make it visible.
Once the document is printed, "_myFunction2_" will be called, and it will make "_dateField_" hidden again.
cya,
Javier Lopez