I have a document level script, which populates a field with a unique number automatically and this happens if the field is empty when the document is opened.
I need some way to save the document with the code implemented, but without it being run immediately upon implementation.
It's a RMA PDF document customers needs to fill out on a website.
Just reset the form (via Tools - Forms - More Form Options) before you save
Incredible how much of a headache simple things can give you!