PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

I generate a simple text field using following JavaScript:

var f = this.addField("myField", "text", 0, [50, 300, 770, 400]);
f.textColor = color.red;
f.textFont = font.Times;
f.textSize = 20;
f.readonly = false;
f.display = display.visible;
f.defaultValue = "Test";

as you see, I have set up the default value to "Test".

I run this script via batch processing on selected files, but as a test, ran
it over a simple PDF file. Everything is fine, BUT the default value is not
shown on the form. I open this field using TextField Tool, and in TextField
Property window,  I can see the default value is set as "Test", but it does
not appear on the PDF file as it should do.

If I type anything (i.e. "44") after "Test" in the TextField Property
window, and close the window, the default value appears as: "Test 44", then
I go back and delete this extra value (i.e. "44") and I can see the default
value now on the form!!

It seems this was working fine with Ver 5.0, but now in Ver 6.0 Pro, it is
playing funny. Does anyone know a trick to get around it? Or am I doing
something wrong?
Any help is appreciated.

Easa





This e-mail is only for the use of the addressee. It may contain information
which is legally privileged, confidential and exempt  from disclosure. If
you are not the intended  recipient you must not copy, distribute or
disseminate this e-mail or attachments to any person other than the
addressee. If you receive this communication in error please advise us by
telephone at once. 
AESSEAL plc Tel. +44 1709 369966 

 Visit our Website at http://www.aesseal.com

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to