Create a sequential PO Number (that is saved) in a fillable form every time the document is saved as
Hi,
I have a fillable PDF I have created in Acrobat - I am trying to create a senario where everytime the user opens the master PO form I have created a new PO number is generated sequentially (ideally starting at 0001) in the "Invoice" field of the form.

I have read lots of threads on similar questions, however I am trying to achieve the following:
- User opens master document
- The generated number appears in the "Invoice" field e.g. 0002
- The user then "saves as" on computer and gives the document a name - lets give it the name "PO-Form-0002"
- The user completes the form and fills in all the fields
- Saves and closes the form
- When the document "PO-Form-0002" is reopened I would like the "Invoice" field to maintain the SAME number it generated origianlly - as per this example it would be 0002.
- When the master document is opened next the "Invoice" field generate the number 0003 and the user the saves the file as "PO-Form-0003" and so on.
Can anyone advise me with a possible script/s for this please?
I'm really struggling and would appreciate help!
Thank you,
Anisha
