Expand my Community achievements bar.

SOLVED

How to create show hide for two different dropdown

Avatar

Level 7

I am trying to use OOTB show hide for dropdown

I have 2 different dropdown which are not linked to each other in any way.

But when I change the dropdown value of 1st dropdown it affects the other one too how to fix that issue?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Ronnie09 

 

Please follow this link: https://aemhints.com/2020/11/02/show-hide-fields-in-aem-dialog/

 

Please make sure that the labels are different for each target values

 

Hope this helps!


Thanks,
Kiran Vedantam.

View solution in original post

2 Replies

Avatar

Community Advisor

@Ronnie09 , Check if you have same class/properties used to achieve hide/show, for both dropdown

Avatar

Correct answer by
Community Advisor

Hi @Ronnie09 

 

Please follow this link: https://aemhints.com/2020/11/02/show-hide-fields-in-aem-dialog/

 

Please make sure that the labels are different for each target values

 

Hope this helps!


Thanks,
Kiran Vedantam.