Expand my Community achievements bar.

automatic invoice numbering

Avatar

Level 2

Hi,

I found this script from another forum. How do I put it in my PDF file with an Invoice field (numeric field) using Livecycle Designer ES3?

var v = +this.getField("Invoice").valueAsString; 

this.getField("Invoice").value = util.printf("%06d", (v+1));

Thanks!

0 Replies