Multiple selection widgets dependency | Community
Skip to main content
October 16, 2015
Solved

Multiple selection widgets dependency

  • October 16, 2015
  • 4 replies
  • 1469 views

Hi,

I would like to populate a second dropdown box (cq widget, eg xtype="selection") dynamically based on what was selected from the first dropdown via a component's dialog.xml.  How do I do this in AEM 6?

For example, I have a country dropdown box, when you select say, Australia, the second dropdown box would populate the states available for Australia.  This is only an example, but hope you know what I mean.

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 vishgupt

Hi Trang,

I hope you will find the following article helpful.

http://helpx.adobe.com/aem-forms/6/dynamically-populate-dropdowns.html

 

Regards,

~ Vishal

4 replies

vishguptAccepted solution
Employee
October 16, 2015

Hi Trang,

I hope you will find the following article helpful.

http://helpx.adobe.com/aem-forms/6/dynamically-populate-dropdowns.html

 

Regards,

~ Vishal

October 16, 2015

Sorry, I forgot to mention that this is the dropdown box used by the dialog.xml.  In other words, usage of the cq:Widget.  For example, I have a component, which have 2 dropdown boxes as stated above.

October 16, 2015

If anyone else searching for the same problem, I found the solution here:

https://forums.adobe.com/thread/1092103?start=0&tstart=0

October 16, 2015

Thanks Vishal!  I will take a look at the link.  Cheers!