Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Re: Automatic Number Generation When Opening an Acrobat Form

$
0
0

OK, but since I am java Script illiterate, I don't know how to change what I copy/pasted from this string.

This is what I copy/pasted...

 

global.counter = 0

global.setPersistent("counter", true)

if (global.count == null) {

global.count = 1000000

global.setPersistent("count",true)

}

else

global.count++

var f = this.getField("jobCount")

f.value = global.count

 

What would I adjust so the counter only changes if opening an empty document?


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>