cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Adobe Java Script

Former Member
0 Kudos

Hi,

I am facing one issue while working in Adobe forms. My requriement is as follows.

Two Drop down lists are there. Say Z1 and Z2. Z1 will contain three values.( A1, A2, A3).

Assume for A1, the corresponding values in Z2 are (1,2,3,4,5,6,8,10).

Assume for A2, the corresponding values in Z2 are (1,2).

Assume for A3, the corresponding values in Z2 are (4).

By Default, A1 will appear in the Drop Down list Z1 and the corresponding values will be loaded in the Drop Down list Z2.

Now, the issue is that if we select 5 in Z2, and then if we go and select A3 in Drop down list Z1, then this 5 is getting appended in the dropdown list Z2 with 4 and displaying as (4,5).

But as per the selection, it should display only 4. This is happening in the cases only when the selected number in Z2 is not available in the current list of the selection from Z1. That is searching for unique entry.

Please suggest how to clear the memory in adobe java script, before the next value selected from the drop down list Z1.

Regards,

Prabu.

Accepted Solutions (0)

Answers (1)

Answers (1)

OttoGold
Active Contributor
0 Kudos

Hello,

1) note there is Adobe forms forum under NetWeaver, you can find me and other Adobe people there

2) check this:

Populate drop-down from a second drop-down:

Regards Otto