Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

New to Designer: Need Script for drop Down List

Avatar

Former Community Member
I am new to Desgner and Adobe. I know VB and VB.Net quite well. i cannot get a Drop down list to enable ar diable another drop-down list by selected index = "value"



Here is my code:



Inside the change event of the first Drop-Down List. the second Droplist is hidden and I don't want to enable unless the first drop-down list selected value = financial



IF P1.DropInstall.rawValue = "Financial" Then

xfa.form.F.P1.Financial.presence = "visible"

Else

xfa.form.F.P1.Financial.presence = "invisible"

End If



The coding of visible and invisible work(I checked this by adding a seperate button for testing. The problem is getting the coding for selecting the text in the first drop-down.



Thank You in advance for the help.
1 Reply

Avatar

Former Community Member
There is a similar question asked before in the forum. Here is the link. However, I think there is a bug here.



http://www.adobeforums.com/cgi-bin/webx?128@@.3bb88104