Previous | Next | (P-PDF) Forms & FDF
Topic: Auto-insert of date upon opening PDF file
Conf: (P-PDF) Forms & FDF, Msg: 32064
From: cgiguere
Date: 12/29/2001 04:07 AM
I was trying to find the tread where Nicholas gave the following code:
if (this.getField('date_field').value =="") {
//if the field already has a value for some reason, we do not want to insert today's date
util.printd("mm/dd/yyyy HH:MM:ss", new Date());
}
in order to fill in a field with the current system date. I used the script but I get an error message that says that my date_field (in my case, the field is called Datum) has no properties. Whether I insert the script in the field, on as an event on the document/open, the date field does not get filled.
Anyone can tell me what I may possibly be doing wrong?
Thx in advance!
Christiane