Good day all...
I am a javascript newbie and put myself in a bind. I hope with all the resources here someone can help me with my situation.
For about a year now i have been converting my manufacturing blueprints into a pdf format using Acrobat 6 professional. At the same time i created a text box with some java scrippting appling a time and date form field. And all the mean time Pdf's have been working great.
Just recently i have upgraded to Acobat 8 professional, and now none of my scrippting works. My time and dates do not update to the current time. I feel as if my file folder of 2000 or so blueprints are subject to redo with Acro 8 unless someone here has a much simplier solution.. Please help.. below is my script that i have been using.
this.getField("Text1").value = "© RBC Southwest Products, 2006 "
this.getField("Text2").value = "Uncontrolled Document - This document will not be kept up-to-date "
+ util.printd("mm/dd/yyyy ",new Date());
this.getField("Text3").value = "THE DESIGNS, CONSTRUCTIONS, ARRANGEMENTS DISCLOSURES AND DEVICES SHOWN OR DESCRIBED IN THE PROPOSAL DRAWINGS, SKETCHES OR DOCUMENTS BEARING THIS LEGEND , ARE THE PROPERTY OF RBC SOUTHWEST PRODUCTS AND ARE SUBMITTED IN CONFIDENCE WITH THE UNDERSTANDING THAT SUCH DESIGNS, CONSTRUCTIONS, ARRANGEMENTS DISCLOSURES AND DEVICES SHALL NOT BE UTILIZED IN WHOLE OR IN PART BY ANY PERSON, FIRM OR CORPORATIONS WITHOUT THE PRIOR WRITTEN PERMISSION OF RBC SOUTHWEST PRODUCTS 2006."
Thank you All
Marco
I would check to see that "JavaScript" is allowed in the application's preferences.
Where exactly is this or the JavaScript's located in the PDF's.
What happens when you save and reopen the PDF?
What is the batch script used to add the form fields?
I would have added the field values and default value to the form fields at the same time as creating the form form field and possibly even flattening the PDF at that time.
George Kaiser