we have 2 drop down when we select value from 1st drop down it will decide the value of 2nd dropdown.
So how to do it ?
1 way is using clientlibs but there is other way using the aem form rules any idea on that ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @pratikshah If you are referring to Adaptive forms then there is a rule editor available OOTB in AEM Forms - https://experienceleague.adobe.com/docs/experience-manager-65/content/forms/adaptive-forms-advanced-...
Please note that it's not included as part of AEM Sites and is a separate add-on.
hey @narendragandhi I saw that document but didnt got how it can be use full for drop down what would be better using rule editor or clientlibs
Hi @pratikshah
You can check this https://aemlab.blogspot.com/2022/01/aemaacs-touch-ui-dialog-dynamic-dropdown.html
hey @arunpatidar looking for the adaptive forms rule editor how we can use and toggle or hide show 2nd drop down value.
You need to write the code to dynamically populate the second dropdown on the change or exit event of the first dropdown.
eg.:
Need to create the mapping like the first dropdown has the country and the second dropdown has the city for that country.
India > Mumbai, Delhi
Australia > Sydney, Melbourne
You can maintain this mapping in xml data or db.