Modify visibility of PDF elements dynamically
I have a vanilla PDF with several sections, the structure may be something like this:
- Introduction
- Section 1
- Section 2
- Section ...
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.
