Conditional show / hide of fields in AEM 6 dialogs | Adobe Higher Education
Skip to main content
David_Woollard
Level 2
October 16, 2015
Beantwoord

Conditional show / hide of fields in AEM 6 dialogs

  • October 16, 2015
  • 1 reactie
  • 1389 Bekeken

Hello friends,

I am building a relatively straight-forward AEM component with a simple authoring dialog. At the top of my dialog is a select field. I want certain fields in my dialog to disappear when this select field is set to a specific item.

I have studied the implementation of the Foundation Carousel component, which uses the cq-dialog-dropdown-showhide-target attribute, which is fine, but isn't quite the logic I am looking for. The logic used there is:

show this field if the select is equal to X

Whereas I am trying to implement:

hide this field if the select is equal to X, Y or Z, otherwise show it

Has anyone else had trouble implementing this kind of logic in their dialogs?

Thank you in advance!

Dave

Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door Scott_Brodersen

DarveLtd wrote...

Has anyone else had trouble implementing this kind of logic in their dialogs?

Have you attempted something and it did not work, or are you looking for more general information? 

1 reactie

Scott_Brodersen
Level 8
October 16, 2015

DarveLtd wrote...

Has anyone else had trouble implementing this kind of logic in their dialogs?

Have you attempted something and it did not work, or are you looking for more general information?