[Bug?] On Document Open scripts don't work if the PDF is digitally signed
I've asked about this, at least tangentally, previously, but I didn't understand what was happening.
I have a form that doesn't work right in other PDF viewers, especially Chrome. To prevent user complaints (so many), I hide every field and mark it read only, except a big angry warning to open the form in Adobe Acrobat/Reader. Then, using an On Doc Open script, I check this.external == false and set everything's visibility and usability, plus hide the angry warning. Additionally, I use app.alert to pop up our privacy policy regarding this specific form.
However, if the form has been digitally signed none of this works. This prevents the warning from going away and it never shows the privacy policy. BUT my script that sets global-level variables works just fine.
I know I can replicate this behavior with "On Page Open" and a RunOnce variable, but I'd like to keep this simple if I can.
This all used to work just fine. Did something change in Adobe Acrobat? And is there a way around or better way to do this?
-Azure's Skye
