Title: Auto-Date?

Tom, try this(I just read somewhere on the net the other day)

 

Just make sure the field you create is named "Today", or if you call it something else change the name in the code.  You can Document this _javascript_ so that any time you create a field called "Today" it will contain this JS code.

 

var f = this.getField("Today");

f.value = util.printd("mmm/d/yyyy", new Date());

 

Hope this Helps...Justice

 

-----Original Message-----
From: Tom Wright [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 7:36 AM
To: '[EMAIL PROTECTED]'
Subject: [PDF-Forms] Auto-Date?

 

Can anyone help me out with a (hopefully) simple _javascript_?

I'm just looking to have a form automatically retrieve the date from the computer or server when the form is opened.  I know very little about _javascript_... but I'm good at cut and paste from people that help. ;)

Thanks

Tom Wright
Electronic Prepress Supervisor 
Coakley-Tech
Direct:  414-902-2632
Fax:  414-389-9130

Reply via email to