How to create show hide for two different dropdown | Community
Skip to main content
Level 6
January 18, 2023
Solved

How to create show hide for two different dropdown

  • January 18, 2023
  • 2 replies
  • 690 views

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.
Best answer by Kiran_Vedantam

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

sunil_kumar_
Level 5
January 18, 2023

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

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
January 18, 2023

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.