|
Brandon, I agree with Rob. In fact, here's some code that I found that might be close to what is needed. It is supposed to loop thru all fields to add the same function (named ""showborder" and "hideborder" in this example) to all fields (for the "On Focus" and "On Blur" actions) on a form already created.
// Enumerate through all of the fields in the document. for (var i = 0; i < this.numFields; i++) { this.getField(this.getNthFieldName(i).setAction(“OnFocus”, “showborder”)); this.getField(this.getNthFieldName(i).setAction(“OnBlur”, “hideborder”)); }
-----Original Message-----
In Acrobat 5 you can write a script to do this. (using the setAction field method) That's the way I do it.
|
Title: Message
- [PDF-Forms] Use Same Script on Multiple Fields Brandon Gawronski
- RE: [PDF-Forms] Use Same Script on Multiple Fi... CAIRNS Robert -NUCLEAR
- Day, Tim G.
