Lately, I have been experiencing issues with pdfs that contain embedded javascript. The strange thing is that the javascript functions perfectly in the Acrobat Pro DC app but fails to execute when the document is sent for signature.
To troubleshoot, I created a test document with just a few fields and added a simple javascript code: app.alert('howdy'); as the validation script in one of the fields.
Surprisingly, it worked flawlessly within the app, but the problem persisted when the document was forwarded for signatures. After numerous attempts to resolve the issue by contacting Adobe support, they concluded that it was a javascript-related problem beyond their scope of responsibility.
I am currently seeking assistance since Adobe seems unable to provide a solution.