Protected interactive Acrobat form and script execution issues
Hello everyone, and thank you in advance to anyone who might be able to help.
I’ve created a complex interactive PDF form. Now I’d like to distribute it, but with protection in place to prevent users from accessing the structure of the form or copying the scripts.
I applied password protection to restrict editing, allowing users to fill out the form but not modify the pages. However, this causes a problem: script execution is blocked with a warning that the current permissions do not allow operations on templates.
In my form, various templates are used to generate pages, which are shown or hidden depending on user input. This functionality is blocked unless page modification is allowed — but if I enable that, the form’s structure and scripts become fully visible.
So, I tried a different approach: all templates are hidden, and I use spawn() to generate pages. But when I attempt to delete a page (instead of just hiding it), I still get a permissions error due to the protection settings.
Has anyone encountered a similar issue and found a workaround?
Thanks to everyone for your time and help!
