These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Default Value in Text Fields with Javascript

wislndixie
Registered: Oct 3 2006
Posts: 125

I've got a javascript that I use that highlights each text field when I tab to it and then changes color when I leave the text field. Is there a way to set the default properties of my text fields so that when I create other forms this javascript will be applied to all new text fields in a new document?
Mike

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There's nothing built into Acrobat for this, but you could write an automation script that does if for you.

Like this:

for(var i=0;i

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script