Copy link to clipboard
Copied
I have a vanilla PDF with several sections, the structure may be something like this:
In every section, there is a button that is supposed to unlock (make visible) the next section. I have tried using interactive PDF's placing a block over the sections and hiding them when the button is clicked, however when I close the document the state is lost and everything is hidden again.
I have tough about somehow using the Acrobat JavaScript API to accomplish this task, but I don't know if it's possible. Any idea is very welcome.
Copy link to clipboard
Copied
There's no reason for it to go back to the original state, if set up correctly.
Please explain what you did, and maybe post the script (or better yet, the actual file), and we'll be able to help you further with this.
I'm also moving this question to the Acrobat JavaScript forum, as it's not really related to the Acrobat SDK, where you posted it.