Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Hide unhide fileds and pages in form with three states.

Avatar

Level 3

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!

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @NikoGR 
Could you please move/repost this thread to dedicated Acrobat community to get faster and relevant response

https://community.adobe.com/t5/acrobat/ct-p/ct-acrobat?page=1&sort=latest_replies&filter=all&lang=al... 



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @NikoGR 
Could you please move/repost this thread to dedicated Acrobat community to get faster and relevant response

https://community.adobe.com/t5/acrobat/ct-p/ct-acrobat?page=1&sort=latest_replies&filter=all&lang=al... 



Arun Patidar