Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Show/hide a textfield based on dropdown selection

Avatar

Level 4

I have a dialog with 3 dropdowns A,B&C. Either of these will be displayed based on another dropdown using wrapperClass. Each dropdowns has 3 options X,Y,Z. When Z is selected, a text field must be shown, otherwise it must be remained hidden. Any inputs?

1 Accepted Solution

Avatar

Correct answer by
Level 7

If you are using acs commons in your project then use this https://adobe-consulting-services.github.io/acs-aem-commons/features/ui-widgets/show-hide-widgets/in... and live happily ever after. Although I am curious why would you have 3 different dropdowns in your dialog with the same values.

View solution in original post

4 Replies

Avatar

Correct answer by
Level 7

If you are using acs commons in your project then use this https://adobe-consulting-services.github.io/acs-aem-commons/features/ui-widgets/show-hide-widgets/in... and live happily ever after. Although I am curious why would you have 3 different dropdowns in your dialog with the same values.