After a long search on the Internet, I found an approach to build my project on it.
if (event.value == 5) {
getField("A").display = display.visible;
getField("B").display = display.visible;
getField("C").display = display.visible;
} else {
getField("A").display = display.hidden;
getField("B").display = display.hidden;
getField("B").display = display.hidden;
}
File is this link
Working with Adobe Acrobat 2020 Pro.
Found this script at www.acronaut.de and would like to expand it to adapt it to my project.
Would like to extend this script approach so that:
Drop-down menu consists of three states.
Each state opens and closes other fields.
At the same time, the fields should each move up or down when the upper fields above them fade in or out.
Is this possible? if so, how can I incorporate this into the existing script?
Is it possible to show/hide the pages at the same time and not print them out if they are not needed or have no fields that you can hide?
I hope I expressed myself correctly and made it clear.
Any help is welcome.
Thanks in advance!