Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Dynamic drop down selection in multi-field

Avatar

Avatar
Validate 1
Level 1
velp58307525
Level 1

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
velp58307525
Level 1

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
velp58307525
Level 1

25-10-2015

I want to know how to create a dynamic drop down in multifield and my scenarios are

1.Inside the component, Values should be dynamically populated in drop down(selection)

2.And I have a multifield inside that mutifield i have a drop down based on the value which was selected in drop down values should be populated in the drop down which was inside multifield

3. To put it in the nut-shell drop down values which was shown in the multi-field should be based on the values populated on the first drop down. and we are trying to achieve this funcitonality but we are not successfull can any one guide me on this.

View Entire Topic

Avatar

Avatar
Validate 10
Level 2
SurendraKonatha
Level 2

Likes

5 likes

Total Posts

63 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
SurendraKonatha
Level 2

Likes

5 likes

Total Posts

63 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
SurendraKonatha
Level 2

26-10-2015

I was working on the same issue and found these solutions:

On AEM 6.1, Open the page in Classic Mode (will not work in TouchUI on AEM 6.1),

  • Add a Form component, then within this Form component (also this feature will not work if the dropdowns are not within a form component)..
  • Add the dropdown component, right-click, select EDIT, say the 1st one is Country, enter the values/items as US = USA, CA = Canada
  • Add the 2nd dropdown component, say it to be "State".. On this component, right-click, select Show/Hide, Choose Country from dropdown, "is equal to" some-value, say "USA"
  • This way, 2nd dropdown component will only show up when the first one is USA.

We ended up using AngularJS to achieve the above as the data that feeds into the dropdown comes from a web service for us.