Is there a way to automatically pre-fill a field in a fillable PDF with a sequential number?
Good day!
I am creating a fillable PDF form. In the form there is a field that I need to automatically pre-fill with a sequential number based on the last used number.
Example:
The Invoice Number field from previous PDF form is "INV0011".
I want that the next time I open the PDF form, the Invoice Number field to pre-populate "INV0012" which is the next number from the previous form. I plan to set this field as read only so the value cannot be change.
I would also want a some kind of a "Commit" button so the Invoice Number generated can be marked as use so when the form is open again it would know that a new Invoice Number needs to be generated. What would be the script for this "Commit" button?
Thanks in advance!