Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) Forms & FDF


Topic: Re: Auto-insert of date upon opening PDF file (Via Email)
Conf: (P-PDF) Forms & FDF, Msg: 32065
From: dug
Date: 12/29/2001 04:24 AM

The code you included is incomplete. It does not populate any field. To
do that, the line that starts with "util" should read as follows:

getField("Datum").value=util.printd("mm/dd/yyyy HH:MM:ss", new
Date());

The error about having no properties is probably a separate issue.
Compare the exact spelling of your field name with your code. Pay
special attention to capital letters, since JavaScript is
case-sensitive.

Hope that helps.

--doug


>>> listmanager@forum.planetpdf.com 12/28/01 12:13PM >>>
From: "Christiane"

--- Planet PDF Forum | http://forum.planetpdf.com ----

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


--------- ePublish Store's Top 10 List for November ----------

ARTS Split and Merge Wizard - StampPDF - Win2PDF
ARTS PDF Workshop - Gemini - ARTS Import - BatchPrint
Mapsoft Impress - Jaws PDF Creator - Crackerjack

Find out why these were the best-selling products last
month. Free demos of most at the ePublish Store!
http://www.epublishstore.com/
(formerly known as the Planet PDF Store)

------- Powered by BinaryThing.com & www.PlanetPDF.com -------



PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: Got holiday catering?

Bret Thompson, chef and owner of LA's Milk restaurant on Beverly, has joined forces with the California Milk Processor Board to compile a set of dairy-based recipes for the holiday season.

November 20, 2008
Search Planet PDF
more searching options...




PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools enfocus

FileOpen PDFNet SDK: PDF Component. Cross-platform PDF library

PDF Converter: Create, Convert PDF to Word/Excel Visual Integrity: Convert, Create, Extract, Merge and Modify PDF

Debenu: Desktop Document Management, Archiving and Tagging Software SmartSoft

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

Adobe Acrobat & PDF Central Conference 2008

September 23 - 25, 2008 - Minneapolis, Minnesota

Dedicated exclusively to Adobe Acrobat and PDF, the 2008 Adobe Acrobat and PDF Central Conference presents a unique opportunity to broaden your understanding of how PDF technologies can positively affect your business productivity.

Discover the new features of Acrobat 9 and expand your knowledge of PDF technology. Participate in various educational seminars, such as Acrobat Form Fundamentals, Acrobat Security, Creating PDF Portfolios, Scripting with the new Flash Annotation in PDF, JavaScript for Acrobat, and much more.

PDF Store Categories