Answered
I have a text field called "ref". Is it possible to assign a script to it so when the document opens the number inside the field increases by one?
For example the the very first document opened will be ref001, and then followed by ref002 etc
I have already set a field up for automatic date entry that i found with this code
var f = this.getField("Ref")
f.value = untilprinted
("m, ,d, yyyy', new date());
I've been trying to enter the following code some where
var newNum = Number(num) + 1;
but cant get it to work at all!
Can anybody please stear me in the right direction
Thank you very much
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com