Dynamically show the dialog based on dropdown selection

Avatar

Avatar

aravindS

Avatar

aravindS

aravindS

20-01-2020

Hi,

I need to show the set of dialog based on the first dialog drop-down.

aravindS_0-1579520014998.png

based on the above selection need to show some text field, pathbrowser.

 

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

sunjot16

Employee

Avatar

sunjot16

Employee

sunjot16
Employee

20-01-2020

Are you implementing it in Metadata Schema? If yes, the following document may be helpful:

https://helpx.adobe.com/ca/experience-manager/6-5/assets/using/metadata-schemas.html

 

 

You can go add two drop-down fields, and set their Settings, such that the second is visible/enabled only when the first one is selected.

Answers (2)

Answers (2)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

879

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

879
Arun_Patidar
MVP

20-01-2020

Avatar

Avatar

jayQ

Avatar

jayQ

jayQ

20-01-2020

Hi,

You could use the list component from AEM Sites Core Components as an example.
It has a conditional rendering depending on the source selected.
https://github.com/adobe/aem-core-wcm-components/tree/master/content/src/content/jcr_root/apps/core/...