How to create show hide for two different dropdown | Community
Skip to main content
Level 6
Jan 18, 2023 10:44 AM UTC
Solved

How to create show hide for two different dropdown

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Jan 18, 2023 4:05 PM UTC

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.

2 replies

Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Jan 18, 2023 4:05 PM UTC

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.

Translate
sunil_kumar_
Level 5
Jan 18, 2023 1:35 PM UTC

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

Translate